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

Changed precision

parent e5fbb2f9
No related branches found
No related tags found
No related merge requests found
Pipeline #11474 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=5)
precision=3)
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=5)
new_X, new_y = self.fake_repetitions(X, y, sample_weight, precision=3)
else:
new_X = X
new_y = y
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment