Skip to main content

A Scikit-learn style wrapper for H2O estimators.

Project description

Wetsuit

image image

A Scikit-Learn wrapper for H2O Estimators.

Why Wetsuit

While H2O Estimators have the .fit() and .predict() methods of the Scikit-Learn API, they don't always function as expected, especially with Pipeline objects. This package contains two estimators and a single transformer to remedy.

For example. the H2OEstimator.fit() method expects two H2OFrame objects, vice pandas DataFrame or numpy NDArray objects. Wetsuit provides two options for handling this behavior:

  • WetsuitRegressor and WetsuitClassifier classes that wrap H2OEstimator objects and handle type conversion automatically, within the .fit() and .predict() methods.
  • H2oFrameTransformer class that converts both DataFrame and NDArray objects to H2OFrame objects via .fit_transform(), and an .inverse_transform() method to convert back.

Install

Create a virtual environment with Python >= 3.9 and install from git:

pip install git+https://github.com/chris-santiago/wetsuit.git

Use

Documentation

Documentation hosted on Github Pages: https://chris-santiago.github.io/wetsuit/

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

wetsuit-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

wetsuit-0.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wetsuit-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for wetsuit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d8f55b381496425671b9512231c1c3b62676d2ed30ed30c214828ff08374917a
MD5 18281e016bea9d380dbbe9f2edc3b4e3
BLAKE2b-256 92a112501e3388899a47406bc03ce52febc28686913b6b8c4129046bf563e86c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wetsuit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for wetsuit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f26866f4a9f348941d94a1fcb2d97a772b35ab6b5e7de058700ff79615d76764
MD5 51e6af6339a33eead05813e98c8a73fb
BLAKE2b-256 46ede3e42c713bd846b9c287443f6bfed9e1aadfb96dd578c8a8a611d806dace

See more details on using hashes here.

Supported by

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