Machine-Learning-With-Python-A-Real-Life-Example

Similar Posts

One Comment

  1. from sklearn.metrics import precision_score
    precision=precision_score(y_test,predictions)
    print(“precision_score = “, precision)
    from sklearn.metrics import recall_score
    recall=recall_score(y_test,predictions)
    print(“recall = “, recall)
    from sklearn.metrics import f1_score
    f1=f1_score(y_test,predictions)
    print(“f1 = “, f1)

Leave a Reply

Your email address will not be published.