mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 23:11:09 +00:00
Fix some typos in random forest classifier (#1858)
This commit is contained in:
parent
7ebe2b9593
commit
7ffdef2636
|
@ -10,11 +10,11 @@ import matplotlib.pyplot as plt
|
||||||
def main():
|
def main():
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Random Tree Classifier Example using sklearn function.
|
Random Forest Classifier Example using sklearn function.
|
||||||
Iris type dataset is used to demonstrate algorithm.
|
Iris type dataset is used to demonstrate algorithm.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Load Iris house price dataset
|
# Load Iris dataset
|
||||||
iris = load_iris()
|
iris = load_iris()
|
||||||
|
|
||||||
# Split dataset into train and test data
|
# Split dataset into train and test data
|
||||||
|
|
Loading…
Reference in New Issue
Block a user