stemflow.utils.wrapper
Wrapping the model. For example, monkey patching.
model_wrapper(model)
wrap a predict_proba function for those models who don't have
Parameters:
-
model(BaseEstimator) –Input model
Returns:
-
BaseEstimator–Wrapped model that has a
predict_probamethod (BaseEstimator)