Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
from sklearn.linear_model import LogisticRegression
Lr=LogisticRegression(C=0.01,random_state=0)
Lr.fit(x_train,y_train)
y_pred=Lr.predict(x_test)
print(y_pred)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment