目录
场景说明
根据工作年限与工资的对应关系表,找出二者之间的关系,并预测“未知”工作年限时,工资会有多少?
1.导入数据
我们创建CSV reader , But something went wrong?
we open SalaryData.csv file,we find the row 9 and row 10 has the same YearsExperience data
we open knime,CSV Reader think YearsExperience is unique, Because it requires a unique ID ,so let's turn off it
扫描二维码关注公众号,回复:
12795283 查看本文章
We can research the data in two waysFirst kind Chart mode
1.First kind
Chart mode
2.The second
scatter diagram(use scatter Plot)
2.数据划分为训练集和测试集
3.训练模型
coeff : 多项式
intercept: 截距