Trending Contributors
Installation
Install latest release version:
pip install -U libra
Install directory from github:
git clone https://github.com/Palashio/libra.git
cd libra
pip install .
Alternatively you can build and use the docker image locally with:
docker build . -f docker/libra-normal/Dockerfile -t libra
docker run -v /path/to/my/data:/data -it --rm libra
Or if you have nvidia-docker installed.
docker build . -f docker/libra-gpu/Dockerfile -t libra-gpu
docker run -v /path/to/my/data:/data --gpus all -it --rm libra-gpu
Usage: the basics
The core functionality of libra works through the client object. A new client object should be created for every dataset that you want to produce results for. All information about the models that're built, the plots that are generated, and the metrics are created will be stored in the object.
You can then call different queries on that client object, and the dataset you passed to it will be used.
from libra import client
newClient = client('path/to/dataset')
newClient.neural_network_query('please model the median number of households')
Now, calling
newClient.info()
will return a dictionary of all the information that was generated:
dict_keys(['id', 'model', 'num_classes', 'plots', 'target', 'preprocessor',
'interpreter', 'test_data', 'losses', 'accuracy'])
Other queries can also be called on the same object, and will be appended to the models dictionary.
newClient.svm_query('predict the proximity to the ocean')
newClient.model().keys()
dict_keys(['regression_ANN', svm'])
Tutorials
- Full documentation can be found at libradocs.org.
- A list of resources can be found on our awesome-libra repository.
Asking for help
Welcome to the Libra community!
If you have any questions, feel free to:
- read the docs.
- Search through the issues.
- Ask on stackoverflow with the tag libra.
- Join our slack.
Demos
Contact
Shoot me an email at ps9cmk@virginia.edu if you'd like to get in touch!
Follow me on twitter for updates and my insights about modern AI!
Metadata
Release files for libra 1.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| libra-1.2.5.tar.gz | 75.4 kB | Without provenance | Details for libra-1.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| libra-1.2.5-py3-none-any.whl | Python 3 | none | any | Details for libra-1.2.5-py3-none-any.whl |
Total release size: 159.0 kB
Release files / libra-1.2.5.tar.gz
| Download URL | libra-1.2.5.tar.gz |
|---|---|
| Size | 75.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cacd6a59dc20dd2256dbbe2d70a404d5271333fec03886e929f73b72bf780911
|
|
BLAKE2b-256 checksum How to use checksums |
023fe41a0163933148f45d4ab57c3c3a63f1c24d93120321b2c96ff1cb5776cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Release files / libra-1.2.5-py3-none-any.whl
| Download URL | libra-1.2.5-py3-none-any.whl |
|---|---|
| Size | 83.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d50cb9cad142d1008edbc680bf4643bc10c7deac4c40119a4f8b23149359e932
|
|
BLAKE2b-256 checksum How to use checksums |
297360b2dbde0cc0505ed1fb31fca6bc940afd819b18ca49c1fd7d999b7fd7ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Security for libra 1.2.5
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.