Id
int64
1.46k
2.92k
SalePrice
float64
136k
282k
1,461
169,277.052498
1,462
187,758.393989
1,463
183,583.68357
1,464
179,317.477511
1,465
150,730.079977
1,466
177,150.989247
1,467
172,070.659229
1,468
175,110.95652
1,469
162,011.698832
1,470
160,726.247831
1,471
157,933.279456
1,472
145,291.24502
1,473
159,672.017632
1,474
164,167.518302
1,475
150,891.638244
1,476
179,460.965187
1,477
185,034.628914
1,478
182,352.192645
1,479
183,053.458214
1,480
187,823.339254
1,481
186,544.114328
1,482
158,230.775205
1,483
190,552.829321
1,484
147,183.674872
1,485
185,855.300905
1,486
174,350.470677
1,487
201,740.620691
1,488
162,986.378896
1,489
162,330.199086
1,490
165,845.938617
1,491
180,929.622877
1,492
163,481.50152
1,493
187,798.076714
1,494
198,822.198943
1,495
194,868.4099
1,496
152,605.298564
1,497
147,797.702837
1,498
150,521.968993
1,499
146,991.630154
1,500
150,306.307815
1,501
151,164.372535
1,502
151,133.706961
1,503
156,214.042541
1,504
171,992.760735
1,505
173,214.91255
1,506
192,429.187346
1,507
190,878.695085
1,508
194,542.544136
1,509
191,849.439073
1,510
176,363.773908
1,511
176,954.185412
1,512
176,521.216976
1,513
179,436.70481
1,514
220,079.756777
1,515
175,502.918109
1,516
188,321.073834
1,517
163,276.32445
1,518
185,911.366293
1,519
171,392.830997
1,520
174,418.207021
1,521
179,682.709604
1,522
179,423.751582
1,523
171,756.918092
1,524
166,849.638174
1,525
181,122.168677
1,526
170,934.462747
1,527
159,738.29258
1,528
174,445.759558
1,529
174,706.36366
1,530
164,507.672539
1,531
163,602.512173
1,532
154,126.27025
1,533
171,104.853481
1,534
167,735.392705
1,535
183,003.613338
1,536
172,580.381161
1,537
165,407.889105
1,538
176,363.773908
1,539
175,182.950899
1,540
190,757.177789
1,541
167,186.995772
1,542
167,839.376779
1,543
173,912.421165
1,544
154,034.917446
1,545
156,002.955794
1,546
168,173.943299
1,547
168,882.437104
1,548
168,173.943299
1,549
157,580.177552
1,550
181,922.15256
1,551
155,134.227843
1,552
188,885.57332
1,553
183,963.193012
1,554
161,298.762306
1,555
188,613.667631
1,556
175,080.111823
1,557
174,744.400305
1,558
168,175.911337
1,559
182,333.472575
1,560
158,307.206742

Dataset Description

File descriptions

  • train.csv - the training set
  • test.csv - the test set
  • data_description.txt - full description of each column, originally prepared by Dean De Cock but lightly edited to match the column names used here
  • sample_submission.csv - a benchmark submission from a linear regression on year and month of sale, lot square footage, and number of bedrooms
from datasets import load_dataset

# Load training data set
train_dataset = load_dataset("Xuehang/House_Prices_Advanced_Regression_Techniques", "train")

# Load test data set
test_dataset = load_dataset("Xuehang/House_Prices_Advanced_Regression_Techniques", "test")

# Load the sample submission dataset
sample_submission_dataset = load_dataset("Xuehang/House_Prices_Advanced_Regression_Techniques", "sample_submission")

# Traverse the data of train_dataset
for data in train_dataset['train']:
    print(data)

# {'Id': 1, 'MSSubClass': 60, 'MSZoning': 'RL', 'LotFrontage': 65.0, 'LotArea': 8450, 'Street': 'Pave', 'Alley': None, 'LotShape': 'Reg', 'LandContour': 'Lvl', 'Utilities': 'AllPub', 'LotConfig': 'Inside', 'LandSlope': 'Gtl', 'Neighborhood': 'CollgCr', 'Condition1': 'Norm', 'Condition2': 'Norm', 'BldgType': '1Fam', 'HouseStyle': '2Story', 'OverallQual': 7, 'OverallCond': 5, 'YearBuilt': 2003, 'YearRemodAdd': 2003, 'RoofStyle': 'Gable', 'RoofMatl': 'CompShg', 'Exterior1st': 'VinylSd', 'Exterior2nd': 'VinylSd', 'MasVnrType': 'BrkFace', 'MasVnrArea': 196.0, 'ExterQual': 'Gd', 'ExterCond': 'TA', 'Foundation': 'PConc', 'BsmtQual': 'Gd', 'BsmtCond': 'TA', 'BsmtExposure': 'No', 'BsmtFinType1': 'GLQ', 'BsmtFinSF1': 706, 'BsmtFinType2': 'Unf', 'BsmtFinSF2': 0, 'BsmtUnfSF': 150, 'TotalBsmtSF': 856, 'Heating': 'GasA', 'HeatingQC': 'Ex', 'CentralAir': 'Y', 'Electrical': 'SBrkr', '1stFlrSF': 856, '2ndFlrSF': 854, 'LowQualFinSF': 0, 'GrLivArea': 1710, 'BsmtFullBath': 1, 'BsmtHalfBath': 0, 'FullBath': 2, 'HalfBath': 1, 'BedroomAbvGr': 3, 'KitchenAbvGr': 1, 'KitchenQual': 'Gd', 'TotRmsAbvGrd': 8, 'Functional': 'Typ', 'Fireplaces': 0, 'FireplaceQu': None, 'GarageType': 'Attchd', 'GarageYrBlt': 2003.0, 'GarageFinish': 'RFn', 'GarageCars': 2, 'GarageArea': 548, 'GarageQual': 'TA', 'GarageCond': 'TA', 'PavedDrive': 'Y', 'WoodDeckSF': 0, 'OpenPorchSF': 61, 'EnclosedPorch': 0, '3SsnPorch': 0, 'ScreenPorch': 0, 'PoolArea': 0, 'PoolQC': None, 'Fence': None, 'MiscFeature': None, 'MiscVal': 0, 'MoSold': 2, 'YrSold': 2008, 'SaleType': 'WD', 'SaleCondition': 'Normal', 'SalePrice': 208500}

Data fields

Here's a brief version of what you'll find in the data description file.

  • SalePrice - the property's sale price in dollars. This is the target variable that you're trying to predict.
  • MSSubClass: The building class
  • MSZoning: The general zoning classification
  • LotFrontage: Linear feet of street connected to property
  • LotArea: Lot size in square feet
  • Street: Type of road access
  • Alley: Type of alley access
  • LotShape: General shape of property
  • LandContour: Flatness of the property
  • Utilities: Type of utilities available
  • LotConfig: Lot configuration
  • LandSlope: Slope of property
  • Neighborhood: Physical locations within Ames city limits
  • Condition1: Proximity to main road or railroad
  • Condition2: Proximity to main road or railroad (if a second is present)
  • BldgType: Type of dwelling
  • HouseStyle: Style of dwelling
  • OverallQual: Overall material and finish quality
  • OverallCond: Overall condition rating
  • YearBuilt: Original construction date
  • YearRemodAdd: Remodel date
  • RoofStyle: Type of roof
  • RoofMatl: Roof material
  • Exterior1st: Exterior covering on house
  • Exterior2nd: Exterior covering on house (if more than one material)
  • MasVnrType: Masonry veneer type
  • MasVnrArea: Masonry veneer area in square feet
  • ExterQual: Exterior material quality
  • ExterCond: Present condition of the material on the exterior
  • Foundation: Type of foundation
  • BsmtQual: Height of the basement
  • BsmtCond: General condition of the basement
  • BsmtExposure: Walkout or garden level basement walls
  • BsmtFinType1: Quality of basement finished area
  • BsmtFinSF1: Type 1 finished square feet
  • BsmtFinType2: Quality of second finished area (if present)
  • BsmtFinSF2: Type 2 finished square feet
  • BsmtUnfSF: Unfinished square feet of basement area
  • TotalBsmtSF: Total square feet of basement area
  • Heating: Type of heating
  • HeatingQC: Heating quality and condition
  • CentralAir: Central air conditioning
  • Electrical: Electrical system
  • 1stFlrSF: First Floor square feet
  • 2ndFlrSF: Second floor square feet
  • LowQualFinSF: Low quality finished square feet (all floors)
  • GrLivArea: Above grade (ground) living area square feet
  • BsmtFullBath: Basement full bathrooms
  • BsmtHalfBath: Basement half bathrooms
  • FullBath: Full bathrooms above grade
  • HalfBath: Half baths above grade
  • Bedroom: Number of bedrooms above basement level
  • Kitchen: Number of kitchens
  • KitchenQual: Kitchen quality
  • TotRmsAbvGrd: Total rooms above grade (does not include bathrooms)
  • Functional: Home functionality rating
  • Fireplaces: Number of fireplaces
  • FireplaceQu: Fireplace quality
  • GarageType: Garage location
  • GarageYrBlt: Year garage was built
  • GarageFinish: Interior finish of the garage
  • GarageCars: Size of garage in car capacity
  • GarageArea: Size of garage in square feet
  • GarageQual: Garage quality
  • GarageCond: Garage condition
  • PavedDrive: Paved driveway
  • WoodDeckSF: Wood deck area in square feet
  • OpenPorchSF: Open porch area in square feet
  • EnclosedPorch: Enclosed porch area in square feet
  • 3SsnPorch: Three season porch area in square feet
  • ScreenPorch: Screen porch area in square feet
  • PoolArea: Pool area in square feet
  • PoolQC: Pool quality
  • Fence: Fence quality
  • MiscFeature: Miscellaneous feature not covered in other categories
  • MiscVal: $Value of miscellaneous feature
  • MoSold: Month Sold
  • YrSold: Year Sold
  • SaleType: Type of sale
  • SaleCondition: Condition of sale
Downloads last month
0
Edit dataset card