Skip to content
Snippets Groups Projects
Commit 04ebc149 authored by Jaralus's avatar Jaralus
Browse files

V2

parent 89d4b704
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ from sklearn.ensemble import RandomForestClassifier ...@@ -14,7 +14,7 @@ from sklearn.ensemble import RandomForestClassifier
from sklearn.tree import DecisionTreeClassifier from sklearn.tree import DecisionTreeClassifier
from sklearn.neighbors import KNeighborsClassifier from sklearn.neighbors import KNeighborsClassifier
#poo #poo asdasdasd
def cross_validation(classifier, features, labels, scoring_metrics): def cross_validation(classifier, features, labels, scoring_metrics):
scores = cross_val_score(classifier, features, labels, cv = 5, scoring = scoring_metrics) scores = cross_val_score(classifier, features, labels, cv = 5, scoring = scoring_metrics)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment