Skip to main content

Welcome to lightsaber

Overview

lightsaber is designed ground up to provide a simple, composible, and unified model training framework. It has been designed based on state-of-the-art open source tools and extended to support the common use cases for disease progression modeling (DPM).

lightsaber provides four main components:

  • Data ingestion modules
  • Model Trainers
  • DPM problem specific model evaluation
  • Model tracking and support for post-hoc model evaluation.

Each of these components are designed such that a user should be able to pick some or all of the modules and embed these seamlessly with their current workflow. Futhermore, when used in the recommended manner, lightsaber provides a batteries included approach allowing the modeler to focus only on developing the logic of their model and letting lightsaber handle the rest.

Currently, we support the following DPM use cases:

  • classification: one or multi-class

Also, we support and extend the following frameworks:

  • scikit-learn compliant models: for classical models
  • pytorch compliant models: for general purpose models, including deep learning models.

To summarize, it is thus an opinionated take on how DPM should be conducted providing with a unified core to abstract and standardize out the engineering, evaluation, model training, and model tracking to support: (a) reproducible research, (b) accelarate model development, and (c) standardize model deployment.

Installation Instructions

Lightsaber is installable as a python package.

It can be installed using conda as:

conda install -c conda-forge dpm360-lightsaber

or from pypi as:

pip install dpm360-lightsaber

It can also be installed from source using pip as follows:

  • barebones install of Lightsaber: pip install .
  • with doc support: pip install .[doc]
  • with time-to-event modeling (T2E) support: pip install .[t2e]
  • full install with all components: pip install .[full]

Downloads

Metadata

Release files for dpm360-lightsaber 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dpm360-lightsaber 0.3.0
File Size Uploaded Provenance Actions
dpm360-lightsaber-0.3.0.tar.gz 36.3 kB Without provenance Details for dpm360-lightsaber-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dpm360-lightsaber 0.3.0
File Interpreter ABI Platform Actions
dpm360_lightsaber-0.3.0-py3-none-any.whl Python 3 none any Details for dpm360_lightsaber-0.3.0-py3-none-any.whl

Total release size: 82.8 kB

Release files / dpm360-lightsaber-0.3.0.tar.gz

Download URL dpm360-lightsaber-0.3.0.tar.gz
Size 36.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3b286d7407503195b73a792dc74a7f567d2996312a96fc498c6855bad1e6d873
BLAKE2b-256 checksum
How to use checksums
2ee4d7f850b7996122d939455606411cf144e3727d4cc614bf1d85efde9680b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release files / dpm360_lightsaber-0.3.0-py3-none-any.whl

Download URL dpm360_lightsaber-0.3.0-py3-none-any.whl
Size 46.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18856ff57b2b38a2435ea1ba46f7e93ddfc6eaaf1772ca9dbbb2ea9364a125d4
BLAKE2b-256 checksum
How to use checksums
6aada9ffb2c50e29f2301cfc6b2226db0c69ea896c3405393d784a9ba273822e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Security for dpm360-lightsaber 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page