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

Activity: Building a Third-Order Polynomial Model

Shifting our attention back to the Boston housing dataset, we would like to build a third-order polynomial model to compare against the linear one. Recall the actual problem we are trying to solve: predicting the median house value, given the lower class population percentage. This model could benefit a prospective Boston house purchaser who cares about how much of their community would be lower class.

Use scikit-learn to fit a polynomial regression model to predict the median house value (MEDV), given the LSTAT values. We are hoping to build a model that has a lower mean squared error (MSE).

主站蜘蛛池模板: 余干县| 汉源县| 曲阜市| 汉川市| 平舆县| 察隅县| 东阿县| 嘉禾县| 红桥区| 武鸣县| 易门县| 曲麻莱县| 钟祥市| 滕州市| 武义县| 湖南省| 扎兰屯市| 沂南县| 阜阳市| 广南县| 镇宁| 方城县| 洪江市| 朝阳市| 多伦县| 东丰县| 丰宁| 秭归县| 黔东| 鸡东县| 文化| 筠连县| 庆阳市| 新丰县| 襄城县| 平乐县| 屏边| 大城县| 安丘市| 永定县| 汝城县|