Skip to content

Scikit Learn

Alex Albenstetter edited this page Jun 3, 2023 · 5 revisions

Classification

Random Forest Classifier

Import

from sklearn.ensemble import RandomForestClassifier

Support Vector Classifier

Import

from sklearn.svm import SVC

Preprocessing

Import

from sklearn.preprocessing import StandardSclaer, LabelEncoder
from sklearn.model_selection import train_test_split
Clone this wiki locally