Coder Social home page Coder Social logo

wwydmanski / hypertab Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 0.0 2.99 MB

Code for "HyperTab: Hypernetwork Approach for Deep Learning on Small Tabular Datasets"

Home Page: https://arxiv.org/abs/2304.03543

Python 54.33% Jupyter Notebook 45.67%
deep-learning hypernetworks tabular-data hypertab

hypertab's Introduction

HyperTab

Open In Colab

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

hypertab's People

Contributors

dependabot[bot] avatar wwydmanski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hypertab's Issues

Regression for HyperTab?

Hi Witold,

I've been using your HyperTab classification algorithm and am impressed with its performance. I'm curious if there are plans to add a regression feature to handle continuous data. This enhancement would greatly expand its usability for various datasets.

In the paper, you mentioned that HyperTab can be applied to regression tasks, too. Is this feature on your roadmap?

Thanks for your great work on this project.

Best,
Mustafa Akben

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.