sklearn/tree/tree.pyWith the new 0.18 version, it is possible to add
percentages values for "min_samples_split"#.. versionchanged:: 0.18#Added float
values for percentages.How ever, a value of 1 will make the program to issue an
ValueError (lines 195-199), since 1 is an Integer and does not hold the
condition of being bigge ror equal than 2. It is quite easy to solve by hand
(if not 2 <= self.min_samples_split and self.min_samples_split != 1: in line
196), but I'm pretty sure there has to be a clever way to solve it. I might go
back to that later, as there might be more bugs as this one with the new
options in version 0.18.Thank you!
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn