adapt.utils.check_fitted_estimator

adapt.utils.check_fitted_estimator(estimator)[source]

Check Fitted Estimator

This function is used to create a custom embedding on fitted estimator object in order to be able to clone them and keep its fitted arguments.

Parameters
estimatorsklearn estimator

Fitted estimator

Returns
estimatorinstance of “Fitted” + estimator class name

Embedded fitted estimator