Created
October 15, 2019 06:49
-
-
Save MariaLavrovskaya/99642500a2d4eeedf53386f858f71c81 to your computer and use it in GitHub Desktop.
airbnb_14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Splitting for 2 matrices: independent variables used for prediction and dependent variables (that is predicted) | |
X = df_1.drop(['price', 'reviews_per_month'], axis = 1) #Feature Matrix | |
y = df_1["price"] #Dependent Variables |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment