piml.models.GLMClassifier

class piml.models.GLMClassifier(feature_names=None, feature_types=None, *args, **kwargs)

A wrapper of generalized linear model classifier in scikit-learn.

Parameters:
feature_nameslist or None, default=None

The list of feature names.

feature_typeslist or None, default=None

The list of feature types. Available types include “numerical” and “categorical”.

l1_regularization: float, default=0

The strength of l1 regularization, l1_regularization must be non-negative float.

l2_regularization: float, default=0

The strength of l2 regularization, l2_regularization must be non-negative float.

Attributes:
feature_names_list of str

The feature name list of all input features.

feature_types_list of str

The feature type list of all input features.

Examples using piml.models.GLMClassifier

HPO - Random Search

HPO - Random Search