自己琢磨的 paddle.utils.plot 模块中 Ploter 函数的基本用法

我是python的小白,更是paddlepaddle的小白。才开始学习百度飞浆,基础教程中有个线性回归的例子,使用了Ploter函数,网上没有搜索到 Ploter 函数或是 paddle.utils.plot 模块的相关说明,估计 matplotlib 中有类似函数,但是我也没有接触过 matplotlib 呀,干脆作几个实验搞搞清楚。

我在 jupyter notebook + python3 环境下实验。不对之处请老师们指点。

画空白框架:

自己琢磨的 paddle.utils.plot 模块中 Ploter 函数的基本用法

画一根曲线:

自己琢磨的 paddle.utils.plot 模块中 Ploter 函数的基本用法

缩进绘图语句,可以显示增加点的过程:

自己琢磨的 paddle.utils.plot 模块中 Ploter 函数的基本用法

画二根曲线:

自己琢磨的 paddle.utils.plot 模块中 Ploter 函数的基本用法

画三根曲线:

自己琢磨的 paddle.utils.plot 模块中 Ploter 函数的基本用法

另外,有没有 %matplotlib inline 不影响。

自己琢磨的 paddle.utils.plot 模块中 Ploter 函数的基本用法