Implementing Decision trees

Refer to the source code provided for this chapter for implementing Decision Trees and Random Forests (source code path .../chapter5/... under each of the folder for the technology).

Using Mahout

Refer to the folder .../mahout/chapter5/decisiontreeexample/.

Refer to the folder.../mahout/chapter5/randomforestexample/.

Using R

Refer to the folder .../r/chapter5/decisiontreeexample/.

Refer to the folder .../r/chapter5/randomforestexample/.

Using Spark

Refer to the folder .../spark/chapter5/decisiontreeexample/.

Refer to the folder .../spark/chapter5/randomforestexample/.

Using Python (scikit-learn)

Refer to the folder .../python scikit-learn/chapter5/decisiontreeexample/.

Refer to the folder .../python scikit-learn/chapter5/randomforestexample/ ...

Get Practical Machine Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.