A Scikit-learn style wrapper for H2O estimators.
Project description
Wetsuit
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
andWetsuitClassifier
classes that wrapH2OEstimator
objects and handle type conversion automatically, within the.fit()
and.predict()
methods.H2oFrameTransformer
class that converts bothDataFrame
andNDArray
objects toH2OFrame
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
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8f55b381496425671b9512231c1c3b62676d2ed30ed30c214828ff08374917a |
|
MD5 | 18281e016bea9d380dbbe9f2edc3b4e3 |
|
BLAKE2b-256 | 92a112501e3388899a47406bc03ce52febc28686913b6b8c4129046bf563e86c |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f26866f4a9f348941d94a1fcb2d97a772b35ab6b5e7de058700ff79615d76764 |
|
MD5 | 51e6af6339a33eead05813e98c8a73fb |
|
BLAKE2b-256 | 46ede3e42c713bd846b9c287443f6bfed9e1aadfb96dd578c8a8a611d806dace |