Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias Import alias identifier ImportFrom alias alias ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Set AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Str Assert CompareEq Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Num Str Assert UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr Str Assert CompareEq AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index Num attr Num Str Assert CompareIsNot Call NameLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr UnaryOpUSub BinOpAdd Num BinOpMult AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad keyword Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr ListLoad Call NameLoad keyword AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Index Num attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad For NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr ExtSlice Slice Index Num body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad
N/A copy copy sklearn.ensemble GradientBoostingClassifier sklearn.ensemble.gradient_boosting LogOddsEstimator sklearn_pmml.convert.features * sklearn_pmml.convert.model EstimatorConverter ClassifierConverter ModelMode RegressionConverter Schema TransformationContext sklearn_pmml.convert.tree DecisionTreeConverter N/A sklearn_pmml.pmml pmml sklearn_pmml.convert.utils estimator_to_converter find_converter LogOddsEstimatorConverter N/A RegressionConverter N/A N/A REGRESSION_LINEAR linearRegression __init__ N/A N/A self estimator context N/A N/A N/A N/A N/A N/A super LogOddsEstimatorConverter self __init__ estimator context N/A N/A isinstance estimator LogOddsEstimator This converter can only process LogOddsEstimator instances N/A model N/A N/A self verification_data N/A None N/A N/A rm N/A N/A pmml RegressionModel functionName N/A N/A self model_function value algorithmName N/A self REGRESSION_LINEAR N/A N/A N/A rm append N/A N/A self mining_schema N/A N/A N/A rm append N/A N/A pmml RegressionTable intercept N/A N/A self estimator prior N/A N/A verification_data None N/A N/A N/A N/A rm append N/A N/A self model_verification verification_data N/A rm N/A N/A GradientBoostingConverter N/A ClassifierConverter N/A N/A 
    Converter for GradientBoostingClassifier model.

    NOTE: at the moment only binary one-label classification is supported.
     N/A SCHEMAS_IN_MINING_MODEL N/A N/A Schema INPUT __init__ N/A N/A self estimator context N/A N/A N/A N/A N/A N/A super GradientBoostingConverter self __init__ estimator context N/A N/A isinstance estimator GradientBoostingClassifier This converter can only process GradientBoostingClassifier instances N/A N/A N/A len N/A N/A context schemas N/A N/A Schema OUTPUT 1 Only one-label classification is supported N/A N/A N/A N/A estimator loss_ is_multi_class Only one-label classification is supported N/A N/A N/A N/A N/A N/A context schemas N/A N/A Schema OUTPUT N/A 0 optype N/A FeatureOpType CATEGORICAL Classification output must be categorical N/A N/A N/A len N/A N/A N/A N/A context schemas N/A N/A Schema OUTPUT N/A 0 value_list 2 Only binary classifier is supported N/A N/A N/A find_converter N/A estimator init_ None N/A N/A Can not find a converter for {} format N/A estimator init_ N/A model N/A N/A self verification_data N/A None N/A N/A mining_model N/A N/A pmml MiningModel functionName N/A N/A ModelMode REGRESSION value N/A N/A N/A mining_model append N/A N/A self mining_schema N/A N/A N/A mining_model append N/A N/A self output_transformation N/A N/A N/A mining_model append N/A N/A self segmentation N/A N/A verification_data None N/A N/A N/A N/A mining_model append N/A N/A self model_verification verification_data N/A mining_model N/A output_transformation N/A N/A self N/A N/A N/A 
        Build sigmoid output transformation:
        proba = 1 / (1 + exp(-(initial_estimate + weighted_sum(estimates))))
        :return: Output element
         N/A output N/A N/A pmml Output N/A f N/A N/A N/A self context schemas N/A N/A Schema INTERNAL N/A N/A N/A N/A output append N/A N/A pmml OutputField feature predictedValue name N/A N/A N/A Schema INTERNAL extract_feature_name f N/A positive_category N/A N/A N/A N/A self context schemas N/A N/A Schema CATEGORIES N/A 1 N/A output_field N/A N/A pmml OutputField dataType N/A N/A positive_category data_type value feature transformedValue name N/A N/A N/A Schema CATEGORIES extract_feature_name positive_category optype N/A N/A positive_category optype value N/A neg N/A N/A pmml Apply function * N/A N/A N/A neg append N/A N/A pmml FieldRef field N/A N/A N/A Schema INTERNAL extract_feature_name N/A positive_category namespace N/A N/A N/A neg append N/A N/A pmml Constant N/A N/A 1 N/A N/A N/A self estimator n_estimators N/A N/A self estimator learning_rate dataType N/A N/A FeatureType DOUBLE value N/A exp N/A N/A pmml Apply function exp N/A N/A N/A exp append neg N/A plus N/A N/A pmml Apply function + N/A N/A N/A plus append N/A N/A pmml Constant 1.0 dataType N/A N/A FeatureType DOUBLE value N/A N/A N/A plus append exp N/A div N/A N/A pmml Apply function / N/A N/A N/A div append N/A N/A pmml Constant 1.0 dataType N/A N/A FeatureType DOUBLE value N/A N/A N/A div append plus N/A N/A N/A output_field append div N/A N/A N/A output append output_field N/A negative_category N/A N/A N/A N/A self context schemas N/A N/A Schema CATEGORIES N/A 0 N/A output_field N/A N/A pmml OutputField dataType N/A N/A negative_category data_type value feature transformedValue name N/A N/A N/A Schema CATEGORIES extract_feature_name negative_category optype N/A N/A negative_category optype value N/A subtract N/A N/A pmml Apply function - N/A N/A N/A subtract append N/A N/A pmml Constant 1 dataType N/A N/A FeatureType DOUBLE value N/A N/A N/A subtract append N/A N/A pmml FieldRef field N/A N/A N/A Schema CATEGORIES extract_feature_name positive_category N/A N/A N/A output_field append subtract N/A N/A N/A output append output_field N/A label N/A N/A N/A N/A self context schemas N/A N/A Schema OUTPUT N/A 0 N/A output_field N/A N/A pmml OutputField feature transformedValue name N/A N/A N/A Schema OUTPUT extract_feature_name label optype N/A N/A label optype value dataType N/A N/A label data_type value N/A discretize N/A N/A pmml Discretize field N/A N/A N/A Schema INTERNAL extract_feature_name label N/A discretize_bin N/A N/A pmml DiscretizeBin binValue N/A N/A label value_list N/A 0 N/A N/A N/A discretize_bin append N/A N/A pmml Interval closure openOpen rightMargin 0 N/A N/A N/A discretize append discretize_bin N/A discretize_bin N/A N/A pmml DiscretizeBin binValue N/A N/A label value_list N/A 1 N/A N/A N/A discretize_bin append N/A N/A pmml Interval closure closedOpen leftMargin 0 N/A N/A N/A discretize append discretize_bin N/A N/A N/A output_field append discretize N/A N/A N/A output append output_field N/A output N/A segmentation N/A N/A self N/A N/A N/A 
        Build a segmentation (sequence of estimators)
        :return: Segmentation element
         N/A segmentation N/A N/A pmml Segmentation multipleModelMethod weightedAverage N/A regression_context N/A TransformationContext schemas N/A dict N/A N/A self context schemas N/A N/A N/A regression_context schemas N/A N/A Schema OUTPUT N/A N/A RealNumericFeature name N/A N/A N/A N/A N/A self context schemas N/A N/A Schema OUTPUT N/A 0 name namespace N/A N/A Schema NUMERIC namespace N/A init_segment N/A N/A pmml Segment weight 1 N/A N/A N/A init_segment append N/A N/A pmml True_ N/A N/A N/A init_segment append N/A N/A N/A N/A find_converter N/A N/A self estimator init_ N/A N/A self estimator init_ regression_context model N/A N/A N/A segmentation append init_segment N/A est N/A N/A N/A self estimator estimators_ N/A N/A N/A 0 N/A N/A s N/A N/A pmml Segment weight N/A N/A self estimator learning_rate N/A N/A N/A s append N/A N/A pmml True_ N/A N/A N/A s append N/A N/A N/A DecisionTreeConverter est regression_context N/A ModelMode REGRESSION _model N/A N/A N/A segmentation append s N/A segmentation N/A N/A N/A N/A estimator_to_converter N/A GradientBoostingClassifier GradientBoostingConverter N/A N/A estimator_to_converter N/A LogOddsEstimator LogOddsEstimatorConverter