All our Data Science projects include bite-sized activities to test your knowledge and practice in an environment with constant feedback.
All our activities include solutions with explanations on how they work and why we chose them.
Unnamed: 0
column is unique for every row and will be deviating from the model. So let's just remove it.
You must modify the df_t
variable itself.
Store the features in X and the target y.
Store the values in the variables in
X_train
,X_test
,y_train
,y_test
,random_state
.