pysits 1.5.3.dev0__tar.gz → 1.5.3.dev1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/PKG-INFO +1 -1
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pyproject.toml +1 -1
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/__init__.py +4 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/settings.py +1 -1
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/cube.py +6 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/ml.py +2 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_models.py +2 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/uv.lock +1 -1
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/.gitattributes +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/.github/workflows/ruff.yaml +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/.gitignore +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/.pre-commit-config.yaml +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/LICENSE +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/README.md +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/conda/meta.yaml +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/apply.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/classification.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/cube-copy.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2013-09-14.jp2 +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2013-10-16.jp2 +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2013-11-17.jp2 +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2013-12-19.jp2 +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-01-17.jp2 +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-02-18.jp2 +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-03-22.jp2 +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-04-23.jp2 +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-05-25.jp2 +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-06-26.jp2 +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-07-28.jp2 +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-08-29.jp2 +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/samples/samples_deforestation.rds +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/samples/samples_sinop_crop.csv +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/list-collections.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/predictors.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/rds.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/regularization.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/segmentation.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/xarray-conversion.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/backend/__init__.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/backend/functions.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/backend/loaders.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/backend/pkgs.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/conversions/__init__.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/conversions/clojure.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/conversions/common.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/conversions/decorators.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/conversions/dsl/__init__.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/conversions/dsl/base.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/conversions/dsl/mask.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/conversions/dsl/tuning.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/conversions/tibble.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/conversions/tibble_arrow.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/conversions/vector.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/conversions/xarray.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/docs/__init__.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/docs/content/sits_get_data.md +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/docs/decorators.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/extras/__init__.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/extras/earthdatalogin.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/extras/torch.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/jinja.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/__init__.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/base.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/data/__init__.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/data/accuracy.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/data/base.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/data/cube.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/data/frame.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/data/frame_accessor.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/data/matrix.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/data/table.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/data/ts.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/data/tuning.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/data/vector.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/frame.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/ml.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/models/resolver.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/__init__.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/classification.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/colors.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/config.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/context.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/data.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/exporters/__init__.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/exporters/files.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/exporters/sf.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/exporters/xarray.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/impute.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/segment.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/tiles.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/ts.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/tuning.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/utils.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/sits/visualization.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/templates/cube.html +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/templates/tuning.html +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/visualization/__init__.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/visualization/base.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/visualization/image.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/visualization/leaflet.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/pysits/visualization/tmap.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/conftest.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_classification.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_conversions.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_cube.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_data.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_dsl.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_extras.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_geopandas.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_indexing.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_tiles.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_utils.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_validation.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_visualization.py +0 -0
- {pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/tests/test_xarray.py +0 -0
|
@@ -42,6 +42,7 @@ from .sits.cube import (
|
|
|
42
42
|
sits_confidence_sampling,
|
|
43
43
|
sits_cube,
|
|
44
44
|
sits_cube_copy,
|
|
45
|
+
sits_mosaic,
|
|
45
46
|
sits_reclassify,
|
|
46
47
|
sits_regularize,
|
|
47
48
|
sits_texture,
|
|
@@ -71,6 +72,7 @@ from .sits.ml import (
|
|
|
71
72
|
sits_formula_linear,
|
|
72
73
|
sits_formula_logref,
|
|
73
74
|
sits_kfold_validate,
|
|
75
|
+
sits_lightgbm,
|
|
74
76
|
sits_lighttae,
|
|
75
77
|
sits_mlp,
|
|
76
78
|
sits_model_export,
|
|
@@ -140,6 +142,7 @@ __all__ = (
|
|
|
140
142
|
"sits_confidence_sampling",
|
|
141
143
|
"sits_variance",
|
|
142
144
|
"sits_texture",
|
|
145
|
+
"sits_mosaic",
|
|
143
146
|
# Colors
|
|
144
147
|
"sits_colors",
|
|
145
148
|
"sits_colors_reset",
|
|
@@ -175,6 +178,7 @@ __all__ = (
|
|
|
175
178
|
"sits_lighttae",
|
|
176
179
|
"sits_svm",
|
|
177
180
|
"sits_xgboost",
|
|
181
|
+
"sits_lightgbm",
|
|
178
182
|
"sits_tae",
|
|
179
183
|
"sits_kfold_validate",
|
|
180
184
|
"sits_model_export",
|
|
@@ -72,6 +72,12 @@ def sits_cube_copy(*args, **kwargs) -> SITSCubeModel:
|
|
|
72
72
|
"""Copy cubes."""
|
|
73
73
|
|
|
74
74
|
|
|
75
|
+
@function_call(r_pkg_sits.sits_mosaic, SITSCubeModel)
|
|
76
|
+
@attach_doc("sits_mosaic")
|
|
77
|
+
def sits_mosaic(*args, **kwargs) -> SITSCubeModel:
|
|
78
|
+
"""Mosaic classified cubes."""
|
|
79
|
+
|
|
80
|
+
|
|
75
81
|
#
|
|
76
82
|
# Probability and metrics
|
|
77
83
|
#
|
|
@@ -73,6 +73,8 @@ sits_resnet = closure_factory("sits_resnet", converters=dl_converters)
|
|
|
73
73
|
sits_rfor = closure_factory("sits_rfor")
|
|
74
74
|
sits_svm = closure_factory("sits_svm")
|
|
75
75
|
sits_xgboost = closure_factory("sits_xgboost")
|
|
76
|
+
sits_lightgbm = closure_factory("sits_lightgbm")
|
|
77
|
+
|
|
76
78
|
|
|
77
79
|
#
|
|
78
80
|
# Extra parameters - SVM
|
|
@@ -31,6 +31,7 @@ from pysits.sits.data import sits_labels, sits_select
|
|
|
31
31
|
from pysits.sits.ml import (
|
|
32
32
|
sits_formula_linear,
|
|
33
33
|
sits_formula_logref,
|
|
34
|
+
sits_lightgbm,
|
|
34
35
|
sits_lighttae,
|
|
35
36
|
sits_mlp,
|
|
36
37
|
sits_model_export,
|
|
@@ -55,6 +56,7 @@ ALL_MODELS = [
|
|
|
55
56
|
sits_rfor,
|
|
56
57
|
sits_svm,
|
|
57
58
|
sits_xgboost,
|
|
59
|
+
sits_lightgbm,
|
|
58
60
|
]
|
|
59
61
|
|
|
60
62
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2013-09-14.jp2
RENAMED
|
File without changes
|
{pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2013-10-16.jp2
RENAMED
|
File without changes
|
{pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2013-11-17.jp2
RENAMED
|
File without changes
|
{pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2013-12-19.jp2
RENAMED
|
File without changes
|
{pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-01-17.jp2
RENAMED
|
File without changes
|
{pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-02-18.jp2
RENAMED
|
File without changes
|
{pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-03-22.jp2
RENAMED
|
File without changes
|
{pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-04-23.jp2
RENAMED
|
File without changes
|
{pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-05-25.jp2
RENAMED
|
File without changes
|
{pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-06-26.jp2
RENAMED
|
File without changes
|
{pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-07-28.jp2
RENAMED
|
File without changes
|
{pysits-1.5.3.dev0 → pysits-1.5.3.dev1}/examples/data/cube/TERRA_MODIS_012010_NDVI_2014-08-29.jp2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|