@staticmethod def compute_scores(y_test, _predicted, classifier): "compute machine learning scores" _accuracy = sklearn.metrics.accuracy_score(y_test, _predicted) _precision = sklearn.metrics.precision_score(y_test, _predicted) _recall = sklearn.metrics.recall_score(y_test, _predicted) print(str(classifier) + ' Accuracy: {:.2f}'.format(_accuracy)) print(str(classifier) + ' Precision: {:.2f}'.format(_precision)) print(str(classifier) + ' Recall: {:.2f}'.format(_recall)) return (_accuracy, _precision, _recall)
Vous avez entré un nom de page invalide, avec un ou plusieurs caractères suivants :
< > @ ~ : * € £ ` + = / \ | [ ] { } ; ? #