sklearn-xarray-ext
sklearn-xarray-ext is a maintained fork of sklearn-xarray by Peter Hausamann.
It 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 original 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-ext
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.
Metadata
Release files for sklearn-xarray-ext 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sklearn_xarray_ext-0.5.0.tar.gz | 34.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sklearn_xarray_ext-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.5 kB
Release files / sklearn_xarray_ext-0.5.0.tar.gz
| Download URL | sklearn_xarray_ext-0.5.0.tar.gz |
|---|---|
| Size | 34.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3b7c26cc1c3b4688dbf82c337b961c14e7daa4254e56acc929ed7549f3f1c26
|
|
BLAKE2b-256 checksum How to use checksums |
bb79396b62d35ece0bcbc1c819f7be010af38bf6b91eec7404af9a7a02cb74df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / sklearn_xarray_ext-0.5.0-py3-none-any.whl
| Download URL | sklearn_xarray_ext-0.5.0-py3-none-any.whl |
|---|---|
| Size | 31.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87fe4d7960bb6d58e5159ea0e894674524fde9b66df4d8f0ce4950e55bc9857d
|
|
BLAKE2b-256 checksum How to use checksums |
1d6d590ee9399d666dbe6ce31ba612c430568eb781d1c1506dd5aef4802a249c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|