randomml.ensemble.RVFLBaggingClassifier#

class randomml.ensemble.RVFLBaggingClassifier(in_dim, rvfl_kwargs=None, n_estimators=10, random_state=None)[source]#

Bagging-based ensemble of RVFLClassifier using sklearn’s BaggingClassifier.

__init__(in_dim, rvfl_kwargs=None, n_estimators=10, random_state=None)[source]#

Initializes the Bagging-based RVFLClassifier.

Args:

in_dim (int): Input feature dimension. rvfl_kwargs (dict, optional): Keyword arguments for RVFLClassifier. n_estimators (int): Number of base learners. random_state (int, optional): Random seed for reproducibility.

Methods

__init__(in_dim[, rvfl_kwargs, ...])

Initializes the Bagging-based RVFLClassifier.

fit(X, y)

Fits the Bagging RVFLClassifier.

predict(X)

Predicts using the ensemble model.

predict_proba(X)

Predicts class probabilities.

fit(X, y)[source]#

Fits the Bagging RVFLClassifier.

predict(X)[source]#

Predicts using the ensemble model.

predict_proba(X)[source]#

Predicts class probabilities.