Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added more options like min_samples_split,min_samples_leaf,max_features and max_nodes in Decision Tree scikit implementation #43

Merged
merged 3 commits into from
Apr 6, 2017

Conversation

Iron-Stark
Copy link
Contributor

@rcurtin

I have added this PR in place of PR(#39) after updating my fork. Please Review.

@mlpack-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

random_state=self.seed)
random_state=self.seed,
splitter = self.splitter,
min_samples_split = self.min_samples_split, min_weight_fraction_leaf=self.min_weight_fraction_leaf,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use one line for each parameter, to improve the readability?

@Iron-Stark
Copy link
Contributor Author

@zoq

Done. Please Review.

@zoq
Copy link
Member

zoq commented Apr 5, 2017

@mlpack-jenkins test this

@Iron-Stark
Copy link
Contributor Author

Iron-Stark commented Apr 5, 2017

@zoq

Not getting why the benchmark_ann file fails to compile here. Last time it was checked it compiled just fine.

@Iron-Stark
Copy link
Contributor Author

Iron-Stark commented Apr 5, 2017

It compiles without any warnings on my local system while working on the same branch.

@zoq
Copy link
Member

zoq commented Apr 5, 2017

@Iron-Stark Turns out the test sometimes fails when used with a small dataset, I'm not why. Let's see if testing on a bigger dataset helps.

@zoq
Copy link
Member

zoq commented Apr 5, 2017

@mlpack-jenkins test this

@zoq zoq merged commit 09148bf into mlpack:master Apr 6, 2017
@zoq
Copy link
Member

zoq commented Apr 6, 2017

Another great contribution, thanks!

@Iron-Stark
Copy link
Contributor Author

Iron-Stark commented Apr 6, 2017

@zoq

Thanks. :) I am planning to implement approximate nearest neighbours using the NearPy library for the benchmarks . Will make a PR by tonight.

Iron-Stark pushed a commit to Iron-Stark/benchmarks that referenced this pull request Apr 6, 2017
Added more options like min_samples_split,min_samples_leaf,max_features and max_nodes in Decision Tree scikit implementation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants