Skip to main content

Orange Data Mining add-on for H2O.ai's TabH2O foundation model.

Project description

Orange3-TabH2O

An Orange Data Mining add-on that calls the TabH2O foundation-model API to predict on new tabular observations.

Adds one widget — TabH2O Predict — to a new TabH2O category in the Orange toolbox.

What it does

  • Takes a training table (with a target column) and a test table (rows you want predicted)
  • Sends both to https://tabh2o.h2oai.com/api/v1/predict
  • Returns the test table with predictions appended as meta columns
    • Classification: predicted class + per-class probabilities
    • Regression: predicted value + confidence-interval bounds
    • Time-series regression: same, with a time_column you select

The widget runs the API call in a background thread (so Orange doesn't freeze) and handles 429 Rate Limited automatically with one polite retry honoring Retry-After.

Install (development mode)

You need Orange 3.34 or newer. From this directory:

pip install -e .

Then launch Orange — a new TabH2O category will appear in the toolbox on the left.

Use

  1. Get a free API key at https://tabh2o.h2oai.com (sign in with LinkedIn or Google).
  2. Drop a TabH2O Predict widget on the canvas.
  3. Paste your API key into the widget.
  4. Connect a File (or Datasets, etc.) widget carrying your training data to its first input (Data).
  5. Connect another File widget carrying the rows you want predicted to the second input (Test Data). The test table should have all the same columns as the training table except the target.
  6. Pick the target column. If your training table already has a class set in Orange, it's used automatically.
  7. Hit Apply. The output is your test table with prediction columns appended — feed it to Data Table to inspect.

Free-tier limits

  • 2 requests/minute, 20/day, 500/month
  • ≤100,000 rows and ≤100 columns per request

For classroom use with more than ~10 students predicting at the same time you'll want to ask H2O.ai about a higher tier.

API key storage

By default the API key is stored in your per-user Orange settings and is not written into the workflow .ows file. If you tick "Remember in workflow", the key is saved into the workflow and travels with it — convenient for a single-user demo, dangerous if you share the file. The widget shows a warning when this is on.

License

BSD-3-Clause.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orange3_tabh2o-0.1.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orange3_tabh2o-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file orange3_tabh2o-0.1.0.tar.gz.

File metadata

  • Download URL: orange3_tabh2o-0.1.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for orange3_tabh2o-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3ca463a86c1edb2d8336c2bfdeba15fab8bcb852bab92440cf77e5553b171622
MD5 728dd73216e47a19d29381481b563a08
BLAKE2b-256 9a5542288b6b6597e6ce714bca626cd86c94895dfa01d506080bb7812e8843e4

See more details on using hashes here.

File details

Details for the file orange3_tabh2o-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: orange3_tabh2o-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for orange3_tabh2o-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab5e51f305f9d139a4764cc4c79043fa4c34e751c9eb093849f56c5f24955527
MD5 ce9818243167c88af00007254aca0812
BLAKE2b-256 8aa66a56f420ca466c5858a0eb38868431266c5665570a1fc619fd999eef005f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page