June 2020
Intermediate to advanced
382 pages
11h 39m
English
Let's specify the features and labels. We will use y through this book to represent the label and X to represent the feature set:
y=result['Purchased']X=result.drop(columns=['Purchased'])
X represents the feature vector and contains all the input variables that we need to use to train the model.