Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the What you really need to know section for the big picture.

julearn.utils.typing.EstimatorLikeFit2

class julearn.utils.typing.EstimatorLikeFit2(*args, **kwargs)

Class for estimator-like fit 2.

__init__(*args, **kwargs)
fit(X, y, **kwargs)

Fit estimator.

Parameters:
XDataLike

The features to use.

yDataLike

The target to use.

**kwargsdict

Extra keyword arguments.

Returns:
EstimatorLikeFit2

The fitted estimator.

get_params(deep=True)

Get params.

Parameters:
deepbool, optional

Whether to get in a deep fashion (default True).

Returns:
dict

The parameters.

set_params(**params)

Set params.

Parameters:
**paramsdict

The parameters to set.

Returns:
EstimatorLikeFit2

Estimator with set parameters.