Module Import alias Import alias identifier Assign NameStore ListLoad Str Str Str Str Str Str Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad NameLoad NameLoad decorator_list Return NameLoad orelse Return NameLoad orelse Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpOr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num AttributeLoad NameLoad attr body Return SubscriptLoad NameLoad ExtSlice Slice Index Num Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad CompareGt AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign SubscriptStore NameLoad ExtSlice Slice Index Num BinOpSub Num AttributeLoad NameLoad attr Assign SubscriptStore NameLoad ExtSlice Slice Index Num AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad orelse If CompareIs NameLoad NameLoad body Return NameLoad orelse If UnaryOpNot BoolOpAnd Call NameLoad NameLoad Str BoolOpOr Call NameLoad NameLoad Str Call NameLoad NameLoad Str body Raise NameLoad BinOpMod Str NameLoad orelse If Call NameLoad NameLoad Str body Return Call NameLoad NameLoad orelse Return Call NameLoad NameLoad decorator_list
N/A N/A types N/A numpy np N/A __all__ N/A Wrapper Estimator ConstantClassifier ConstantRegressor Probabilities BinaryProbabilities wrap_sklearn_like_estimator Wrapper N/A object N/A __init__ N/A N/A self obj N/A N/A N/A N/A self _obj obj N/A __getattr__ N/A N/A self attr N/A N/A N/A N/A hasattr N/A self _obj attr N/A N/A attr_value N/A getattr N/A self _obj attr N/A N/A isinstance attr_value N/A types MethodType N/A callable N/A N/A N/A args kwargs N/A N/A N/A attr_value args kwargs N/A N/A callable N/A N/A attr_value N/A N/A AttributeError N/A __getstate__ N/A N/A self N/A N/A N/A N/A self __dict__ N/A __setstate__ N/A N/A self d N/A N/A N/A N/A N/A N/A self __dict__ update d N/A N/A Estimator N/A Wrapper N/A __init__ N/A N/A self estimator N/A N/A N/A N/A self base_estimator_ estimator N/A N/A N/A N/A super Estimator self __init__ estimator N/A __repr__ N/A N/A self N/A N/A N/A N/A repr N/A self base_estimator_ N/A fit N/A N/A self x y N/A kwargs N/A N/A N/A N/A N/A self base_estimator_ fit N/A x values N/A y values kwargs N/A predict_maxprob N/A N/A self x N/A kwargs N/A N/A 
        Most likely value. Generally equivalent to predict.
         N/A N/A N/A N/A self base_estimator_ predict N/A x values kwargs N/A predict N/A N/A self x N/A kwargs N/A N/A 
        Model output. Not always the same as scikit_learn predict. E.g., in the
        case of logistic regression, returns the probability of each outome.
         N/A N/A N/A N/A self base_estimator_ predict N/A x values kwargs N/A N/A Probabilities N/A Estimator N/A N/A 
    Wraps a scikit-learn-like estimator to return probabilities (if
    it supports it)
     __init__ N/A N/A self estimator binary N/A False N/A N/A 
        binary: If True, predict returns only the probability
            for the positive class. If False, returns probabilities for
            all classes.
         N/A N/A self binary binary N/A N/A N/A N/A super Probabilities self __init__ estimator N/A __str__ N/A N/A self N/A N/A N/A N/A Probabilites for %s N/A self base_estimator_ N/A predict N/A N/A self x N/A N/A N/A probs N/A N/A N/A self base_estimator_ predict_proba x N/A N/A N/A N/A N/A probs shape N/A 1 2 N/A self binary N/A N/A N/A probs N/A N/A N/A 1 N/A probs N/A N/A BinaryProbabilities N/A Probabilities N/A __init__ N/A N/A self estimator N/A N/A N/A N/A N/A N/A super BinaryProbabilities self __init__ estimator binary True N/A N/A ConstantClassifier N/A object N/A __init__ N/A N/A self func N/A N/A N/A N/A self func func N/A N/A self constant None N/A fit N/A N/A self x y N/A kwargs N/A N/A N/A self constant N/A N/A self func y N/A predict N/A N/A self x N/A kwargs N/A N/A N/A N/A np full N/A N/A N/A x shape N/A 0 N/A int N/A N/A self constant 0.5 N/A predict_proba N/A N/A self x N/A kwargs N/A N/A p N/A N/A np zeros N/A N/A N/A x shape N/A 0 2 N/A N/A p N/A N/A N/A 0 N/A 1 N/A self constant N/A N/A p N/A N/A N/A 1 N/A self constant N/A p N/A N/A ConstantRegressor N/A object N/A __init__ N/A N/A self func N/A N/A N/A N/A self func func N/A N/A self constant None N/A fit N/A N/A self x y N/A kwargs N/A N/A N/A self constant N/A N/A self func y N/A predict N/A N/A self x N/A kwargs N/A N/A N/A N/A np full N/A N/A N/A x shape N/A 0 N/A self constant N/A N/A wrap_sklearn_like_estimator N/A N/A estimator N/A N/A N/A N/A isinstance estimator Estimator N/A N/A estimator N/A N/A N/A estimator None N/A N/A None N/A N/A N/A N/A N/A hasattr estimator fit N/A N/A hasattr estimator predict N/A hasattr estimator predict_proba N/A N/A ValueError N/A Invalid estimator: %s estimator N/A N/A N/A hasattr estimator predict_proba N/A N/A N/A Probabilities estimator N/A N/A N/A Estimator estimator N/A