Random Forest Example

Here is an exampleRF using a Random Forest (TreeBagger) in matlab.

The example:

  1. Loads a matlab test dataset.
  2. Finds the capabilities of computer so we can best utilize them.
  3. Trains a TreeBagger (Random Forest).
  4. Creates a scatter diagram.
  5. Estimates the relative importance of the inputs.
  6. Examines how many trees are needed.