Skip to main content

SPERM (Shape Prior Embedded Regression Models) targets providing flexible shape prior embeddings into base regression models.

Project description

SPERM

SPERM (Shape Prior Embedded Regression Models) targets providing flexible shape prior (nonnegativity, monotonicity, convexity, quasi-convexity, etc.) embeddings into base regression models (linear models, tree-based models, gaussian process regressors, MLPs, etc.), with an API as compatible to scikit-learn as possible. There have been many research works on this direction, but normally providing one or a few specific shape prior embeddings into one base model. We hope to fill the gap between research and application by integrating the proposed methods into one package.

An overall look at which shape priors are supported on which base models currently:

linear models
nonnegative / nonpositive X
increasing / decreasing
Lipschitz
quasi-convex / quasi-concave X
convex / concave X
  • √: supported
  • -: not yet supported
  • X: not supported (it is impossible or degrading to provide such shape priors on the base model)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sperm-0.0.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

sperm-0.0.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file sperm-0.0.1.tar.gz.

File metadata

  • Download URL: sperm-0.0.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for sperm-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e8389eff9e7bb77233f18764a4e1286ed777dbe489db77269a54aecc24592514
MD5 2c2891f73eeeaec318cd67c5f8454c4f
BLAKE2b-256 f235d9dfcda5e8dc09ca33b4b41ccc58ab7a82071b4e18c107f429a05f8125c4

See more details on using hashes here.

File details

Details for the file sperm-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sperm-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for sperm-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5261ba5a9db66bac2c5c10b0afc94c6b6a7af8d0d0bdd9625ed104f9b31dee84
MD5 df71cd7ce0cec7eba018f4ee02f53926
BLAKE2b-256 d003e5d25ebbf32e6694b2a8d28c4fdf79ac4aca39600847baa5282bcc3fac45

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page