Understanding-Code-for A-Classifier
Understanding-Code-for A-Classifier
x=iris.data
y=iris.target
If our model has to predict the flower, we have to train the model with the Features and the
Labels.
classifier.fit(x_train,y_train)
These predictions can be matched with the expected output to measure the
accuracy value.