Skip to content

Releases: lemma-osu/sklearn-raster

v0.1.0.dev1

07 Nov 18:52
37c7294

Choose a tag to compare

Fixed

  • Fix xarray being incorrectly listed as an optional dependency
  • Fix deprecation warning for xarray>=2025.08.0 by explicitly setting compat mode

Added

  • HTML reprs for FeatureArrayEstimator in a Jupyter notebook.
  • The estimator wrapped by FeatureArrayEstimator is exposed with the wrapped_estimator attribute.
  • Added support for applying wrapped estimator methods to pd.DataFrame feature arrays.
  • Expose sklearn_raster.FeatureArrayEstimator as a top-level import.
  • FeatureArrayEstimator exposes n_features_in_, n_targets_in_, feature_names_in_, and target_names_in_ as public attributes after fitting.

Changed

  • The wrap function is deprecated in favor of instantiating FeatureArrayEstimator directly.
  • Calling predict, predict_proba, transform, and kneighbors with nodata_input=None now overrides _FillValue attributes like any other nodata_input value. The default behavior when nodata_input is not provided is unchanged, and will infer from _FillValue if present.

Removed

  • Dask diagnostics and dataframe extras are no longer required dependencies
  • FeatureArrayEstimator no longer supports direct access to the wrapped estimator attributes. These attributes should be accessed via the wrapped_estimator attribute instead.

Full Changelog: v0.1.0.dev0...v0.1.0.dev1

Initial developmental release

14 Jul 23:26
d12f018

Choose a tag to compare

Initial release (#70)

* Initial release

* Make test config global and patch Pooch for releases

After bumping the package version but before releasing the corresponding
tag, Pooch would fail to fetch data that's required for testing because
it attempts to download from the nonexistent tag. This fixes that by 
conditionally patching the fetcher to an unversioned one that downloads 
from main if the current package version isn't found in the git tags. 

For that patch fixture to apply to doctests, I needed to move conftest.py
out of the tests directory and into the root directory so that it would
be in scope for the src directory. That constraint isn't well documented
in pytest, but running `pytest --fixtures src/` prior to the fix shows
that the patch fixture was unavailable to the doctests.