機械学習Boston Housing Prices

線形回帰で住宅価格を予測し、外れ値除去によるモデル改善を評価。

概要

This project implemented linear regression models to predict housing prices using the classic Boston housing dataset. Beyond basic modeling, the analysis focused on improving model performance through systematic identification and removal of outliers and high leverage points. The comparative analysis demonstrated significant improvements in model quality as measured by F-statistics and AIC scores.

課題

Identifying meaningful outliers versus legitimate data points. Balancing model complexity with interpretability. Determining which observations had undue influence on regression coefficients.

アプローチ

Implemented multiple linear regression models using statsmodels and scikit-learn. Conducted systematic analysis comparing four model variations: with outliers, without outliers, without high leverage points, and without both outliers and high leverage points. Evaluated each model using F-statistics and AIC, demonstrating that the model without outliers and high leverage points achieved the best performance (F-statistic: 366.2, AIC: 3010).

主な機能

  • Comparative model evaluation
  • Outlier detection and removal
  • Leverage point analysis
  • Residual diagnostics
  • Model quality metrics analysis

成果

  • Developed multiple linear regression models with progressive improvements in predictive performance
  • Demonstrated significant model enhancement through outlier and high leverage point removal (F-statistic: 244.2 → 366.2)
  • Achieved substantial reduction in AIC scores (3233 → 3010) indicating better model quality

使用技術

Linear RegressionStatsmodelsScikit-learnPythonPandasSeabornOutlier DetectionResidual AnalysisFeature EngineeringStatistical Modeling

その他のデータプロジェクト

すべて見る →