SUPARN PATRA
Schools
Exams
Paths
Blog
Quizzes
Tools
Playground
About
Home
/
Quizzes
/
AI / ML Path
/
Supervised Learning
AI / ML Path
Supervised Learning
10 questions
Question 1 of 10
Score:
0
/ 0
What does the following print? from sklearn.linear_model import LogisticRegression import numpy as np X = np.array([[0],[1],[2],[3]]) y = np.array([0,0,1,1]) clf = LogisticRegression().fit(X, y) print(clf.predict([[1.5]]))
A
[0]
B
[1]
C
[0.5]
D
[0 1]
← Back to lesson notes