xarray integration with sklearn (maintained fork)
Project description
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.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sklearn_xarray_ext-0.5.0.tar.gz.
File metadata
- Download URL: sklearn_xarray_ext-0.5.0.tar.gz
- Upload date:
- Size: 34.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3b7c26cc1c3b4688dbf82c337b961c14e7daa4254e56acc929ed7549f3f1c26
|
|
| MD5 |
b5b07c7ef4e964ce4b0374f58e592895
|
|
| BLAKE2b-256 |
bb79396b62d35ece0bcbc1c819f7be010af38bf6b91eec7404af9a7a02cb74df
|
File details
Details for the file sklearn_xarray_ext-0.5.0-py3-none-any.whl.
File metadata
- Download URL: sklearn_xarray_ext-0.5.0-py3-none-any.whl
- Upload date:
- Size: 31.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87fe4d7960bb6d58e5159ea0e894674524fde9b66df4d8f0ce4950e55bc9857d
|
|
| MD5 |
132b65ac246ac453b13dc660967893db
|
|
| BLAKE2b-256 |
1d6d590ee9399d666dbe6ce31ba612c430568eb781d1c1506dd5aef4802a249c
|