Skip to main content

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/

Metadata

Release files for wetsuit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wetsuit 0.1.0
File Size Uploaded Provenance
wetsuit-0.1.0.tar.gz 7.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for wetsuit 0.1.0
File Interpreter ABI Platform
wetsuit-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.0 kB

Release files / wetsuit-0.1.0.tar.gz

Download URL wetsuit-0.1.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d8f55b381496425671b9512231c1c3b62676d2ed30ed30c214828ff08374917a
BLAKE2b-256 checksum
How to use checksums
92a112501e3388899a47406bc03ce52febc28686913b6b8c4129046bf563e86c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / wetsuit-0.1.0-py3-none-any.whl

Download URL wetsuit-0.1.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f26866f4a9f348941d94a1fcb2d97a772b35ab6b5e7de058700ff79615d76764
BLAKE2b-256 checksum
How to use checksums
46ede3e42c713bd846b9c287443f6bfed9e1aadfb96dd578c8a8a611d806dace
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for wetsuit 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page