Releases: lemma-osu/sklearn-raster
Releases · lemma-osu/sklearn-raster
v0.1.0.dev1
Fixed
- Fix
xarraybeing incorrectly listed as an optional dependency - Fix deprecation warning for
xarray>=2025.08.0by explicitly settingcompatmode
Added
- HTML reprs for
FeatureArrayEstimatorin a Jupyter notebook. - The estimator wrapped by
FeatureArrayEstimatoris exposed with thewrapped_estimatorattribute. - Added support for applying wrapped estimator methods to
pd.DataFramefeature arrays. - Expose
sklearn_raster.FeatureArrayEstimatoras a top-level import. FeatureArrayEstimatorexposesn_features_in_,n_targets_in_,feature_names_in_, andtarget_names_in_as public attributes after fitting.
Changed
- The
wrapfunction is deprecated in favor of instantiatingFeatureArrayEstimatordirectly. - Calling
predict,predict_proba,transform, andkneighborswithnodata_input=Nonenow overrides_FillValueattributes like any othernodata_inputvalue. The default behavior whennodata_inputis not provided is unchanged, and will infer from_FillValueif present.
Removed
- Dask
diagnosticsanddataframeextras are no longer required dependencies FeatureArrayEstimatorno longer supports direct access to the wrapped estimator attributes. These attributes should be accessed via thewrapped_estimatorattribute instead.
Full Changelog: v0.1.0.dev0...v0.1.0.dev1
Initial developmental release
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.