Github user manishamde commented on the pull request:
https://github.com/apache/spark/pull/475#issuecomment-41864396
@mengxr I added a unit test.
I also changed the default maxBins setting to 100 in the example. People
will use the examples to test the tree algorithms locally and it might be hard
for them to verify the results by comparing them to other implementations if we
keep the number of bins very small.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---