Skip to content

Commit

Permalink
fix ROC fit_predict arguments (#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 915e016 commit 53cf097
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 53cf097

Please sign in to comment.