Skip to main content

Travis Coverage PyPI Black

sklearn-xarray

sklearn-xarray is an open-source python package that combines the n-dimensional labeled arrays of xarray with the machine learning and model selection tools of scikit-learn. The package contains wrappers that allow the user to apply scikit-learn estimators to xarray types without losing their labels.

Documentation

The package documentation can be found at https://phausamann.github.io/sklearn-xarray/

Features

  • Makes sklearn estimators compatible with xarray DataArrays and Datasets.

  • Allows for estimators to change the number of samples.

  • Adds a large number of pre-processing transformers.

Installation

The package can be installed with pip:

$ pip install sklearn-xarray

or with conda:

$ conda install -c phausamann -c conda-forge sklearn-xarray

Example

The activity recognition example demonstrates how to use the package for cross-validated grid search for an activity recognition task. You can also download the example as a jupyter notebook.

Contributing

Please read the contribution guide if you want to contribute to this project.

Release files for sklearn-xarray 0.4.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 sklearn-xarray 0.4.0
File Size Uploaded
sklearn-xarray-0.4.0.tar.gz 31.8 kB Details

Release files / sklearn-xarray-0.4.0.tar.gz

Download URL sklearn-xarray-0.4.0.tar.gz
Size 31.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c25ef690057c90e78eac1c19624b46461ac2f4f0bac4b658cf58ba0f125cf61e
BLAKE2b-256 checksum
How to use checksums
e76dff503591f631c4fe735ae8096646493cb53f2efde7bafb764d8a4308cf95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200616 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

2 release files

0.1

2 release files

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