Palashio/libra
Palashio/libra has 1,904 GitHub stars and 109 forks. GitHot measured 0 stars in 24 hours, -1 in 7 days, and -2 in 15 days. Last checked 2026-11-22 23:07 UTC. Last push 2025-08-27.
实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
让每个人都能轻松使用的机器学习。
机器学习README.md
原文Check out our newer machine learning tool Nylon!
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 [email protected] if you'd like to get in touch!
Follow me on twitter for updates and my insights about modern AI!
探索相关项目
加载中…
