Skip to content

Commit

Permalink
fix ROC fit_predict arguments (Trusted-AI#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoih authored and hoffmansc committed Oct 3, 2019
1 parent b972b59 commit 12ad4a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ def predict(self, dataset):

return dataset_new

def fit_predict(self, dataset):
def fit_predict(self, dataset_true, dataset_pred):
"""fit and predict methods sequentially."""
return self.fit().predict(dataset)
return self.fit(dataset_true, dataset_pred).predict(dataset_pred)

# Function to obtain the pareto frontier
def _get_pareto_frontier(costs, return_mask = True): # <- Fastest for many points
Expand Down

0 comments on commit 12ad4a5

Please sign in to comment.