instancelib-onnx
ONNX extension for instancelib.
Installation
You can install this package as follows:
pip install instancelib-onnx
Or by cloning this repo and issuing:
python setup.py
You will need at least Python 3.8 to use this library.
Usage
import instancelib as il
import ilonnx
# Specify the model location and the label translation
model = ilonnx.build_data_model("example_models/data-model.onnx",
{0: "Bedrijfsnieuws", 1: "Games", 2: "Smartphones"})
Then you can use the normal instancelib functionality to interact with the model.
# Load a dataset with instancelib
env = il.read_excel_dataset("datasets/testdataset.xlsx", ["fulltext"], ["label"])
# Assess the performance like any other instancelib model
performance = il.classifier_performance(model, env.dataset, env.labels)
performance.confusion_matrix
Metadata
Release files for instancelib-onnx 0.1.3
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 |
|---|---|---|---|---|
| instancelib-onnx-0.1.3.tar.gz | 19.6 kB | Without provenance | Details for instancelib-onnx-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| instancelib_onnx-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for instancelib_onnx-0.1.3-py3-none-any.whl |
Total release size: 41.4 kB
Release files / instancelib-onnx-0.1.3.tar.gz
| Download URL | instancelib-onnx-0.1.3.tar.gz |
|---|---|
| Size | 19.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d4eeb5d58864887bc7d2df901493b1853cb914846fd9baf75c2595b8d6021f1
|
|
BLAKE2b-256 checksum How to use checksums |
133be1e3350a5d7580248d9737989af7dd2ebe4c4eaf42448ddeca8779082b9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / instancelib_onnx-0.1.3-py3-none-any.whl
| Download URL | instancelib_onnx-0.1.3-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14ab08034db3ef16ca2722c9a8a996ce3a133a35568ae540a99a261ae1cf7537
|
|
BLAKE2b-256 checksum How to use checksums |
bb76b3655c11bf9a43d3137eb350b214ccf444f35ae26e6290dcf737eefdfef3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for instancelib-onnx 0.1.3
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.