Skip to content
Snippets Groups Projects
Commit 10d9a6c2 authored by paul_pvc's avatar paul_pvc
Browse files

test

parent 17146b7c
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ path2_t = "./Init/Ailleurs"
S = TP.buildSampleFromPath(path1_t, path2_t)
classifier, S_test, y_test, S_train, y_train = TP.fitFromHisto(S, XGBClassifier())
TP.predictFromHisto(S, classifier)
print()
print("Erreur empirique щ(ºДºщ):", TP.computeError(S_train), "erreurs")
print("Erreur réelle ( ͡° _ʖ ͡°):", TP.computeError(S_test), "erreurs")
print("Taux de réussite (╯°□°)╯︵ ┻━┻ : ", TP.computeScore(S_test), "%")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment