我是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 函数的基本用法

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-02
  • 2021-11-06
  • 2022-12-23
  • 2021-08-14
  • 2021-09-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-03
  • 2021-06-06
  • 2021-07-16
  • 2022-12-23
相关资源
相似解决方案