I used logistic regression with python and got an accuracy score of 95%, how do I get this equation so that I can actually implement it?
I wrote:
model = LogisticRegression()
model.fit(train_X,train_y)
prediction=model.predict(test_X)
print('Accuracy:', "\n", '%',metrics.accuracy_score(prediction,test_y) * 100)
and my output was:
Accuracy:
%95.5555555556