Note

This page is a reference documentation. It only explains the function 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.EstimatorLikeFity

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

Class for estimator-like fit y.

fit(y)

Fit estimator.

Parameters:

y (ndarray | DataFrame | Series) – The target to use.

Returns:

The fitted estimator.

get_params(deep=True)

Get params.

Parameters:

deep (bool, default: True) – Whether to get in a deep fashion (default True).

Returns:

The parameters.

set_params(**params)

Set params.

Parameters:

**params (Any) – The parameters to set.

Returns:

Estimator with set parameters.