Skip to content
Snippets Groups Projects
Commit 286933af authored by bbauvin's avatar bbauvin
Browse files

debugging

parent 525c4ddf
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ __status__ = "Prototype" # Production, Development, P
def fit(DATASET, CLASS_LABELS, NB_CORES=1, **kwargs):
maxDepth = int(kwargs['0'])
print maxDepth
classifier = DecisionTreeClassifier(max_depth=maxDepth)
classifier.fit(DATASET, CLASS_LABELS)
return classifier
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment