官术网_书友最值得收藏!

Summary

In this chapter, we introduced simple linear regression, which models the relationship between a single explanatory variable and a continuous response variable. We worked through a toy problem to predict the price of a pizza from its diameter. We used the residual sum of squares cost function to assess the fitness of our model, and analytically solved the values of our model's parameter that minimized the cost function. We measured the performance of our model on a test set. Finally, we introduced scikit-learn's estimator API. In the next chapter, we will compare and contrast simple linear regression with another simple, ubiquitous model, k-Nearest Neighbors (KNN).

主站蜘蛛池模板: 仁布县| 吉安市| 台山市| 保山市| 治县。| 南木林县| 三穗县| 广水市| 锡林浩特市| 安达市| 德安县| 汉中市| 孝义市| 永川市| 宣化县| 浠水县| 离岛区| 绥棱县| 武平县| 阆中市| 邵东县| 永仁县| 江华| 房山区| 武强县| 南开区| 新龙县| 青铜峡市| 齐齐哈尔市| 成都市| 永新县| 法库县| 文成县| 杭锦后旗| 广灵县| 安宁市| 邛崃市| 新民市| 临桂县| 永春县| 通州区|