yuhexiong / house-prices-XGBRegressor-LightGBMRegressor-python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

House Prices XGBRegressor & LightGBMRegressor

Overview

  • Language: Python v3.9.15
  • Package: xgboost, lightgbm
  • Model: XGBRegressor, LGBMRegressor
  • Loss Function: Mean Squared Error
  • Fill in a lot of missing values

Data Distribution

  • Histogram of Values for Each Field

image

  • Scatter Plot of Each Field Against Price

image

Correlation Matrix

image

Result

image

  • Best Model With Params: XGBRegressor(n_estimators = 2000, reg_lambda = 10, max_depth = 3)
  • Mean Squared Error: 2801.275107982908