Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
sparho 0.2.0
sparho 0.2.0

User guide

  • Installation
  • Quickstart
  • Concepts
  • Protocols & extension points
  • Migrating from sparse-ho

API reference

  • API reference
    • Problem definition
    • Solvers
    • Criteria
    • Hypergradient
    • Outer-search loops
    • Result and state dataclasses
    • Type aliases

Examples

  • Examples gallery
    • Sparse logistic regression
    • Weighted Lasso (per-feature α)
    • Held-out Lasso with HOAG
    • Cross-validated Lasso
Back to top
View this page

Examples gallery¶

End-to-end runnable examples. Each script is executed at doc-build time and its output is captured as a rendered page. Click through to read the walkthrough or download the source.

Sparse logistic regression

Sparse logistic regression

Weighted Lasso (per-feature α)

Weighted Lasso (per-feature α)

Held-out Lasso with HOAG

Held-out Lasso with HOAG

Cross-validated Lasso

Cross-validated Lasso

Gallery generated by Sphinx-Gallery

Next
Sparse logistic regression
Previous
Type aliases
Copyright © 2026, David Villacis
Made with Sphinx and @pradyunsg's Furo