Learn Before
Helpful Scikit-Learn functions
sklearn.tree.DecisionTreeClassifier
Function that creates a decision tree classifier. Decision trees predict the target variable value by learning decision rules that are deduced from the data features. Some useful parameters include splitter (split strategy to use) and max_depth (maximum depth of the tree).
0
1
Tags
Data Science
Related
sklearn.preprocessing.OneHotEncoder
sklearn.neighbors.KNeighborsClassifier
sklearn.dummy.DummyClassifier
sklearn.preprocessing.LabelEncoder
Train Test Split Function
sklearn.datasets.make_regression
sklearn.datasets.make_friedman1
sklearn.datasets.make_classification
sklearn.svm.SVC
sklearn.tree.DecisionTreeClassifier
sklearn.ensemble.RandomForestClassifier
sklearn.dummy.DummyRegressor
sklearn.model_selection.GridSearchCV
sklearn.ensemble.RandomForestRegressor
Cross-Validation in scikit-learn