Here is an exampleRF using a Random Forest (TreeBagger) in matlab.
The example:
- Loads a matlab test dataset.
- Finds the capabilities of computer so we can best utilize them.
- Trains a TreeBagger (Random Forest).
- Creates a scatter diagram.
- Estimates the relative importance of the inputs.
- Examines how many trees are needed.