Skip to content

Commit

Permalink
Merge pull request #2046 from recommenders-team/jun/fix_benchmark_las…
Browse files Browse the repository at this point in the history
…t_cell

Fix benchmarks last cell to store value, not [value]
  • Loading branch information
miguelgfierro committed Dec 22, 2023
2 parents 82ee6d3 + 495d09d commit 5bf18a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/06_benchmarks/movielens.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@
"source": [
"# Record results for tests - ignore this cell\n",
"for algo in algorithms:\n",
" store_metadata(algo, df_results.loc[df_results[\"Algo\"] == algo, \"nDCG@k\"].values)\n"
" store_metadata(algo, df_results.loc[df_results[\"Algo\"] == algo, \"nDCG@k\"].values[0])\n"
]
}
],
Expand Down

0 comments on commit 5bf18a0

Please sign in to comment.