arduino / arduino/ArduinoTensorFlowLiteTutorials

Plot of predictions with test data in Colab notebook doesn't make much sense

オープン
#3 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
270
フォーク
122
PR マージ指標
30日以内にマージされた PR はありません

説明

In the Colab notebook, after the training we plot some graphs.
The last one, which is "Plot the predictions along with to the test data", is literally taken from a standard TensorFlow Lite example notebook (see https://colab.research.google.com/github/tensorflow/tensorflow/blob/master/tensorflow/lite/experimental/micro/examples/hello_world/create_sine_model.ipynb#scrollTo=L_vE-ZDkHVxe )
but does not make much sense in this context.

Besides that, the code for that plot currently (ab)uses a deprecated matplotlib behaviour
```
/usr/local/lib/python3.6/dist-packages/matplotlib/axes/_base.py:380: MatplotlibDeprecationWarning:
cycling among columns of inputs with non-matching shapes is deprecated.
```
which also suggests that the current plot is a bit nonsensical.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Colab notebookを開き、リンク先のTensorFlow Liteの例と比較しながら、最後の「Plot the predictions along with to the test data」セクションを確認します。notebookをtrainingまで実行し、報告されているMatplotlibのdeprecation warningが発生しないように、test dataとpredictionsを意味のある形で表すplotに修正します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
jupyter-notebook, matplotlib, tensorflow
領域
data-visualization, machine-learning
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。