Skip to content

Commit

Permalink
0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikbostrom authored Jun 22, 2023
1 parent 937cc68 commit 2270a88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/crepes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
License: BSD 3 clause
"""

__version__ = "0.5.0"
__version__ = "0.5.1"

import numpy as np
import pandas as pd
Expand Down Expand Up @@ -933,12 +933,12 @@ def evaluate(self, y_hat, y, sigmas=None, bins=None,
"""

tic = time.time()
test_results = {}
lower_percentile = (1-confidence)/2*100
higher_percentile = (confidence+(1-confidence)/2)*100
if metrics is None:
metrics = ["error","eff_mean","eff_med","CRPS","time_fit",
"time_evaluate"]
lower_percentile = (1-confidence)/2*100
higher_percentile = (confidence+(1-confidence)/2)*100
test_results = {}
if "CRPS" in metrics:
results, cpds = self.predict(y_hat, sigmas=sigmas, bins=bins, y=y,
lower_percentiles=lower_percentile,
Expand Down

0 comments on commit 2270a88

Please sign in to comment.