MLClassifierExample

MLClassifierExample#

class MLClassifierExample(*values)#

Bases: Enum

Set of example machine learning classifiers.

This class serves as a convenient registry for common Scikit-Learn models. It is typically used in conjunction with the MLClassificationPerformance.

See also

MLClassificationPerformance

Evaluation based on machine learning classification performance.

Attributes

RF

Random Forest.

LOG

Logistic Regression.

SVM

Support Vector Machine.

DT

Decision Tree.

KNN

K-Nearest Neighbors.

RF = RandomForestClassifier()#

Random Forest.

LOG = LogisticRegression(max_iter=1000)#

Logistic Regression.

SVM = SVC()#

Support Vector Machine.

DT = DecisionTreeClassifier()#

Decision Tree.

KNN = KNeighborsClassifier()#

K-Nearest Neighbors.