diff --git a/docs/source/conf.py b/docs/source/conf.py index 9a88dd2..05d0dbe 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -127,7 +127,7 @@ "member-order": "bysource", "special-members": "__init__", "undoc-members": True, - "exclude-members": "__weakref__,set_fit_request,set_transform_request,set_decision_function_request,set_score_request,set_predict_request,Pipeline,FeatureUnion,RuleState,RuleStateError,RuleUnAppliedError,make_pipeline,make_union", + "exclude-members": "__weakref__,set_fit_request,set_transform_request,set_decision_function_request,set_score_request,set_predict_request,Pipeline,FeatureUnion,RuleState,RuleStateError,RuleUnAppliedError,make_pipeline,make_union,RFE,RFECV,SelectKBest,SelectFromModel,NumExprDerive", } # # 支持文档格式 diff --git a/docs/source/install.html b/docs/source/install.html index 7af0862..a639591 100644 --- a/docs/source/install.html +++ b/docs/source/install.html @@ -88,7 +88,7 @@
-
+
@@ -100,10 +100,10 @@ ]; var pipyList = [ + ['github', '源码'], + ['aliyun', '阿里'], ['nouse', '纯净'], ['office', 'PIPY'], - ['github', 'GITHUB'], - ['aliyun', '阿里云'], ]; var netList = [ diff --git a/scorecardpipeline/rule.py b/scorecardpipeline/rule.py index b0a9774..ca83f1f 100644 --- a/scorecardpipeline/rule.py +++ b/scorecardpipeline/rule.py @@ -160,7 +160,7 @@ def _report_one_rule(data, target, desc='', prior_rules=None): rule_result = pd.DataFrame({rule_expr: np.where(self.predict(temp), "命中", "未命中"), "target": temp[target].tolist()}) else: prior_tables = pd.DataFrame(columns=return_cols) - rule_result = pd.DataFrame({rule_expr: np.where(self.predict(datasets), "命中", "未命中"), "target": data[target].tolist()}) + rule_result = pd.DataFrame({rule_expr: np.where(self.predict(data), "命中", "未命中"), "target": data[target].tolist()}) combiner = Combiner(target=target) combiner.load({rule_expr: [["命中"], ["未命中"]]})