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

V3

parent 04ebc149
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 asdasdasd #poo asdasdasd asdasd
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