Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 17331

Erroring in accuracy_score

$
0
0

I have problem in coding.I want to use accuracy_score in my data frame in jupyter notebook but i got this error :"ValueError: continuous is not supported"

I wrote :from sklearn.metrics import accuracy_score train_prediction = model.predict(X_train) training_accuracy = accuracy_score(y_train , train_prediction) print("score :" , training_accuracy) [?]


Viewing all articles
Browse latest Browse all 17331

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>