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

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).

主站蜘蛛池模板: 彭泽县| 淮安市| 太原市| 运城市| 济源市| 伊宁市| 莆田市| 沂源县| 北海市| 都江堰市| 青浦区| 张家港市| 揭东县| 旬邑县| 正宁县| 芒康县| 玉门市| 高青县| 鲁山县| 金寨县| 湖州市| 洪洞县| 阜平县| 河西区| 呼图壁县| 晋州市| 海兴县| 花莲市| 固原市| 镇康县| 郯城县| 黄骅市| 静乐县| 松潘县| 张家港市| 志丹县| 景德镇市| 玉田县| 襄樊市| 鸡西市| 清新县|