🎯
Focusing
Master student in Computer Science at University of Illinois Chicago
- Illinois, Chicago
- https://shashwath44.github.io/portfolio/
Pinned Loading
-
DecisionTreeRegressor
DecisionTreeRegressor 1Y = home_data.SalePrice
2feature_names = ["LotArea","YearBuilt","1stFlrSF","2ndFlrSF","FullBath","BedroomAbvGr","TotRmsAbvGrd"]
3X = home_data[feature_names]
-
Article2
Article2 1from sklearn.model_selection import train_test_split
2train_X, val_X, train_y, val_y = train_test_split(X,y,random_state=1)
3iowa_model = DecisionTreeRegressor(random_state=1)
4iowa_model.fit(train_X,train_y)
5val_predictions = iowa_model.predict(val_X)
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.