Skip to content

yuhexiong/house-prices-XGBRegressor-LightGBMRegressor-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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