Skip to content

Commit

Permalink
Merge pull request #129 from LSSTDESC/eac/fix_goldenspike
Browse files Browse the repository at this point in the history
Switch goldenspike to use OldEvaluator
  • Loading branch information
ztq1996 authored Apr 8, 2024
2 parents d17b53b + e3148f4 commit b72a52e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/goldenspike_examples/goldenspike.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"from rail.estimation.algos.naive_stack import NaiveStackSummarizer\n",
"from rail.estimation.algos.point_est_hist import PointEstHistSummarizer\n",
"\n",
"from rail.evaluation.evaluator import Evaluator\n"
"from rail.evaluation.evaluator import OldEvaluator\n"
]
},
{
Expand Down Expand Up @@ -568,7 +568,7 @@
"\n",
"result_dict = {}\n",
"for key, val in eval_dict.items():\n",
" the_eval = Evaluator.make_stage(name=f\"{key}_eval\", truth=truth)\n",
" the_eval = OldEvaluator.make_stage(name=f\"{key}_eval\", truth=truth)\n",
" result_dict[key] = the_eval.evaluate(val, truth)\n"
]
},
Expand Down Expand Up @@ -817,7 +817,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down

0 comments on commit b72a52e

Please sign in to comment.