AI / ML Path

Supervised Learning

10 questions

Question 1 of 10Score: 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]]))