VisTabNet
This package introduces VisTabNet - Vision Transformer-based Tabular Data Classifier.
Usage
from vistabnet import VisTabNetClassifier
X_train, y_train, X_test, y_test = ... # Load your data here. Y should be label encoded, not one-hot encoded.
model = VisTabNetClassifier(input_features=X_train.shape[1], classes=len(np.unique(y_train)), device="cuda:1")
model.fit(X_train, y_train, eval_X=X_test, eval_y=y_test)
y_pred = model.predict(X_test)
acc = balanced_accuracy_score(y_test_, y_pred)
print(f"Balanced accuracy: {acc}")
Installation
pip install vistabnet
Metadata
Release files for vistabnet 0.1.1
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 |
|---|---|---|---|---|
| vistabnet-0.1.1.tar.gz | 4.9 kB | Without provenance | Details for vistabnet-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vistabnet-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for vistabnet-0.1.1-py3-none-any.whl |
Total release size: 11.0 kB
Release files / vistabnet-0.1.1.tar.gz
| Download URL | vistabnet-0.1.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b431d815e6d0896d5af3a15af1c97f59654622707c09dd52aca6ae7c16fd0832
|
|
BLAKE2b-256 checksum How to use checksums |
172c5cc40c60493973306d4be5d9d50c56524caa1ef60e42f7d4f7feaffba152
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.16 Linux/5.10.0-19-amd64
|
Release files / vistabnet-0.1.1-py3-none-any.whl
| Download URL | vistabnet-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62a9328a81f233b952ffd66ebaa87231054d4a7b45975a83e2fc345c1095a450
|
|
BLAKE2b-256 checksum How to use checksums |
5311ba664258127809f738386480b1cc32a2fb442fa5009b88588170703cb756
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.16 Linux/5.10.0-19-amd64
|
Security for vistabnet 0.1.1
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.