Skip to content

Commit

Permalink
Updating the benchmark figures to say glum instead of quantcore-glm (#…
Browse files Browse the repository at this point in the history
…451)

* Updating the benchmark figures to say glum instead of quantcore-glm

* Fix black issues.
  • Loading branch information
tbenthompson committed Oct 8, 2021
1 parent aa22946 commit 5224f98
Show file tree
Hide file tree
Showing 19 changed files with 4 additions and 1 deletion.
Binary file modified docs/_static/headline_benchmark.pdf
Binary file not shown.
Binary file modified docs/_static/headline_benchmark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/intermediate-housing-l2.pdf
Binary file not shown.
Binary file modified docs/_static/intermediate-housing-l2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/intermediate-housing-lasso.pdf
Binary file not shown.
Binary file modified docs/_static/intermediate-housing-lasso.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/intermediate-insurance-l2.pdf
Binary file not shown.
Binary file modified docs/_static/intermediate-insurance-l2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/intermediate-insurance-lasso.pdf
Binary file not shown.
Binary file modified docs/_static/intermediate-insurance-lasso.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/narrow-insurance-l2.pdf
Binary file not shown.
Binary file modified docs/_static/narrow-insurance-l2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/narrow-insurance-lasso.pdf
Binary file not shown.
Binary file modified docs/_static/narrow-insurance-lasso.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/wide-insurance-l2.pdf
Binary file not shown.
Binary file modified docs/_static/wide-insurance-l2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/wide-insurance-lasso.pdf
Binary file not shown.
Binary file modified docs/_static/wide-insurance-lasso.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion docs/benchmarks/benchmark_figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# extension: .py
# format_name: percent
# format_version: '1.3'
# jupytext_version: 1.11.4
# jupytext_version: 1.13.0
# kernelspec:
# display_name: Python 3 (ipykernel)
# language: python
Expand Down Expand Up @@ -101,6 +101,9 @@
plot_df = plot_df.pivot(columns="library_name")
plot_df.columns = plot_df.columns.get_level_values(1)
plot_df.index = [x.title() for x in plot_df.index]
plot_df = plot_df[["h2o", "glum", "r-glmnet"]].rename(
columns={"r-glmnet": "glmnet"}
)

title = prob_name.title() + "-" + ("Lasso" if reg == "lasso" else "Ridge")
plot_df.plot.bar(
Expand Down

0 comments on commit 5224f98

Please sign in to comment.