Skip to content

Instantly share code, notes, and snippets.

@MariaLavrovskaya
Created October 15, 2019 06:49
Show Gist options
  • Save MariaLavrovskaya/99642500a2d4eeedf53386f858f71c81 to your computer and use it in GitHub Desktop.
Save MariaLavrovskaya/99642500a2d4eeedf53386f858f71c81 to your computer and use it in GitHub Desktop.
airbnb_14
#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