HyperTab: hypernetwork for small tabular datasets
Project description
HyperTab
HyperTab is a hypernetwork-based classifier for small tabular datasets.
It's especially efficient when the number of samples is smaller than 500. The smaller the dataset, the larger is the advantage of HyperTab over other algorithms.
Installation
pip install hypertab
Usage
from hypertab import HyperTabClassifier
DEVICE = "cuda:0" if torch.cuda.is_available() else "cpu"
clf = HyperTabClassifier(0.5, device=DEVICE, test_nodes=100, epochs=10, hidden_dims=5)
clf.fit(X, y)
clf.predict(X)
Performance
| Dataset | XGBoost | DN | RF | HyperTab | Node |
|---|---|---|---|---|---|
| Wisconsin Breast Cancer | 93.85 | 95.58 | 95.96 | 97.58 | 96.19 |
| Connectionist Bench | 83.52 | 79.02 | 83.50 | 87.09 | 85.61 |
| Dermatology | 96.05 | 97.80 | 97.21 | 97.82 | 97.99 |
| Glass | 94.74 | 46.96 | 97.02 | 98.36 | 44.90 |
| Promoter | 81.88 | 78.91 | 85.94 | 89.06 | 83.75 |
| Ionosphere | 90.67 | 93.43 | 92.43 | 94.52 | 91.03 |
| Libras | 74.38 | 81.54 | 77.42 | 85.22 | 82.72 |
| Lymphography | 85.94 | 85.74 | 87.19 | 83.90 | 83.93 |
| Parkinsons | 86.35 | 74.96 | 86.84 | 95.27 | 80.20 |
| Zoo | 92.86 | 72.62 | 92.62 | 95.27 | 89.05 |
| Hill-Valley without noise | 65.53 | 56.39 | 57.33 | 70.59 | 52.71 |
| Hill-Valley with noise | 58.45 | 56.06 | 55.66 | 67.56 | 51.09 |
| OpenML 1086 | 60.61 | 33.33 | 51.24 | 76.60 | 68.39 |
| Heart | 79.17 | 82.62 | 81.10 | 83.33 | 82.38 |
| Mean rank | 3.50 | 3.78 | 3.07 | 1.35 | 3.29 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hypertab-0.6.2.tar.gz
(11.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
hypertab-0.6.2-py3-none-any.whl
(11.9 kB
view details)
File details
Details for the file hypertab-0.6.2.tar.gz.
File metadata
- Download URL: hypertab-0.6.2.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a428a0db93488ca4ff3572b076af6a8a1eb685375cbf6a4cffe49addc25965d
|
|
| MD5 |
726c316d9bb6d701f6128b102083041e
|
|
| BLAKE2b-256 |
5dd6f34c80f5c02f801106ab4ae248246c0b36052bb3b3b742e2aef51d0d7fe3
|
File details
Details for the file hypertab-0.6.2-py3-none-any.whl.
File metadata
- Download URL: hypertab-0.6.2-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a58fb9c9c5e8f98aee6b1e3ea29fc822467878b2ea54d3e71a934f99b71fb4b
|
|
| MD5 |
e7952fffdac254bf4a6f9589a8a4947a
|
|
| BLAKE2b-256 |
a546cc4ca7c63c567fa993ae267737433b356c820843c84e5917090dff521403
|