Below is my simple code.
import matplotlib.pyplot as plt
import numpy as np
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import classification_report, confusion_matrix
x = np.arange(10).reshape(-1, 1)
y = np.array([0, 0, 0, 0, 1, 1, 1, 1, 1, 1])
model = LogisticRegression(solver='liblinear', random_state=0)
print(model.fit(x, y))
The output I am getting is:
LogisticRegression(random_state=0, solver='liblinear')
I have tried this with other data and in PyCharm as well, same thing.
What am I doing wrong?