python多项式回归
You can view the code used in this Episode here: SampleCode
您可以在此处查看 此剧 集中使用的代码: SampleCode
导入我们的数据 (Importing our Data)
The first step is to import our data into python.
第一步是将我们的数据导入python。
We can do that by going on the following link: Data
我们可以通过以下链接来做到这一点: 数据
Click on “code” and download ZIP.
单击“代码”并下载ZIP。
Locate WeatherDataP.csv and copy it into your local disc under a new file called ProjectData
找到WeatherDataP.csv并将其复制到本地磁盘下名为ProjectData的新文件下
Note: WeatherData.csv and WeahterDataM.csv were used in Simple Linear Regression and Multiple Linear Regression.
Now we are ready to import our data into our Notebook:
现在我们准备将数据导入到笔记本中:
How to set up a new Notebook can be found at the start of Episode 4.3
如何设置新笔记本可以在第4.3节开始时找到
Note: Keep this medium post on a split screen so you can read and implement the code yourself.
注意:请将此帖子张贴在分屏上,以便您自己阅读和实现代码。