Skip to content
Snippets Groups Projects
Commit 3af89cd7 authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Precision

parent 8bf4e950
No related branches found
No related tags found
No related merge requests found
Pipeline #11500 failed
......@@ -23,7 +23,7 @@ class RepDT(DecisionTree):
def fit(self, X, y, sample_weight=None, check_input=True):
if sample_weight is not None:
new_X, new_y = self.fake_repetitions(X, y, sample_weight,
precision=3)
precision=4)
else:
new_X = X
new_y = y
......
......@@ -65,7 +65,7 @@ class SCM(scm, BaseMonoviewClassifier):
def fit(self, X, y, tiebreaker=None, iteration_callback=None, sample_weight=None, **fit_params):
if sample_weight is not None:
new_X, new_y = self.fake_repetitions(X, y, sample_weight, precision=3)
new_X, new_y = self.fake_repetitions(X, y, sample_weight, precision=4)
else:
new_X = X
new_y = y
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment