使用 Python 的随机森林算法
Random Forest Algorithm using Python
- 1. Introduction
- 1. Introduction and Understanding of SONAR Dataset
- 2. Getting Started
- 1. Load a CSV File
- 2. Load a CSV File Continue
- 3. Split a dataset into k Folds
- 4. Evaluate an Algorithm using a Cross Validation Split
- 5. Calculate the Gini index for a Split Dataset
- 6. Select the Best Split Point for a Dataset
- 3. Node Value and Subsample
- 1. Create a Terminal Node Value
- 2. Build a Decision Tree
- 3. Create a Random Subsample
- 4. Random Forest Algorithm
- 5. Test the Random Forest Algorithm on Sonar Dataset
- 6. Evaluate Algorithm