Skip to main content

Backbones for parameterized models.

Project description

Spines

Backbones for parameterized models.

Build Status Coverage Status Documentation Status PyPI Status Python Versions

Spines Logo

About

Spines was built to provide a skeleton for Model classes: a common interface for users to build models around (with some tools and utilities which take advantage of those commonalities). It's core Model class is similar, in structure, to some of scikit-learn's underlying Estimator classes - but with a single set of unified functions for all models, namely:

  • Build
  • Fit
  • Predict
  • Score
  • Error

The predict method is the only one that's required to be implemented, though the others are likely useful most of the time (and often required to take advantage of some of the additional utilities provided by spines).

Spines also incorporates automatic version management for your models - something akin to a very lightweight git - but for individual models. It also caches results generated during various iterations of the development/fitting process so that they're not lost during - something that can (and often does) happen during very iterative model development work.

Installing

To install spines use your package manager of choice, an example using pipenv would be:

$ pipenv install spines

Documentation

The latest documentation is hosted on read the docs.

License

This project is licensed under the MIT License, for more information see the LICENSE file.

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

spines-0.0.3.tar.gz (89.1 kB view hashes)

Uploaded Source

Built Distribution

spines-0.0.3-py3-none-any.whl (82.1 kB view hashes)

Uploaded Python 3

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