4a84e4934e95620383c969ab493243b0396235f2,aif360/sklearn/postprocessing/__init__.py,PostProcessingMeta,predict_proba,#PostProcessingMeta#Any#,134
Before Change
y_pred = (self.estimator_.predict(X) if not self.use_proba_ else
self.estimator_.predict_proba(X))
y_pred = pd.Series(y_pred, index=X.index)
return self.postprocessor_.predict_proba(y_pred)
@if_delegate_has_method("postprocessor_")
def predict_log_proba(self, X):
After Change
y_pred = (self.estimator_.predict(X) if not self.use_proba_ else
self.estimator_.predict_proba(X))
y_pred = pd.DataFrame(y_pred, index=X.index).squeeze("columns")
return self.postprocessor_.predict_proba(y_pred)
@if_delegate_has_method("postprocessor_")
def predict_log_proba(self, X):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: IBM/AIF360
Commit Name: 4a84e4934e95620383c969ab493243b0396235f2
Time: 2020-02-19
Author: hoffman.sc@gmail.com
File Name: aif360/sklearn/postprocessing/__init__.py
Class Name: PostProcessingMeta
Method Name: predict_proba
Project Name: IBM/AIF360
Commit Name: 4a84e4934e95620383c969ab493243b0396235f2
Time: 2020-02-19
Author: hoffman.sc@gmail.com
File Name: aif360/sklearn/postprocessing/__init__.py
Class Name: PostProcessingMeta
Method Name: predict
Project Name: IBM/AIF360
Commit Name: 4a84e4934e95620383c969ab493243b0396235f2
Time: 2020-02-19
Author: hoffman.sc@gmail.com
File Name: aif360/sklearn/postprocessing/__init__.py
Class Name: PostProcessingMeta
Method Name: score
Project Name: IBM/AIF360
Commit Name: 4a84e4934e95620383c969ab493243b0396235f2
Time: 2020-02-19
Author: hoffman.sc@gmail.com
File Name: aif360/sklearn/postprocessing/__init__.py
Class Name: PostProcessingMeta
Method Name: predict_log_proba