- Mastering Machine Learning with scikit-learn(Second Edition)
- Gavin Hackeling
- 106字
- 2021-07-02 19:01:12
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).
推薦閱讀
- Python科學計算(第2版)
- HoloLens Beginner's Guide
- AWS Serverless架構:使用AWS從傳統部署方式向Serverless架構遷移
- Linux網絡程序設計:基于龍芯平臺
- Scala謎題
- INSTANT Django 1.5 Application Development Starter
- Extending Puppet(Second Edition)
- INSTANT Sinatra Starter
- ASP.NET程序開發范例寶典
- Xcode 6 Essentials
- 區塊鏈架構之美:從比特幣、以太坊、超級賬本看區塊鏈架構設計
- Java EE Web應用開發基礎
- 青少年學Python(第2冊)
- 計算機系統解密:從理解計算機到編寫高效代碼
- Python繪圖指南:分形與數據可視化(全彩)