Question: QUESTION 8 Multiple Answers may be correct Logistic Regression can be used for classification tasks KNN can be used for classification tasks One can use
QUESTION 8
-
Multiple Answers may be correct
Logistic Regression can be used for classification tasks
KNN can be used for classification tasks
One can use the testing dataset during the training process to find the best model
Given the following code (X: feature matrix, y: label vector, model: some machine learning model):
from sklearn.model_selection import cross_val_score
cross_val_score(model,X,y, cv=10)
The shape of the output of the function cross_val_score() is (10, 10)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
