geocif 0.2.47__tar.gz → 0.2.48__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.
- {geocif-0.2.47/geocif.egg-info → geocif-0.2.48}/PKG-INFO +1 -1
- {geocif-0.2.47 → geocif-0.2.48}/geocif/geocif.py +0 -2
- {geocif-0.2.47 → geocif-0.2.48}/geocif/indices_runner.py +3 -3
- {geocif-0.2.47 → geocif-0.2.48/geocif.egg-info}/PKG-INFO +1 -1
- {geocif-0.2.47 → geocif-0.2.48}/setup.py +1 -1
- {geocif-0.2.47 → geocif-0.2.48}/LICENSE +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/MANIFEST.in +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/README.md +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/__init__.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/agmet/__init__.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/agmet/geoagmet.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/agmet/plot.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/agmet/utils.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/analysis.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/backup/__init__.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/backup/constants.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/backup/features.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/backup/geo.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/backup/geocif.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/backup/metadata.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/backup/models.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/cei/__init__.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/cei/definitions.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/cei/indices.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/experiments.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/geocif_runner.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/indices_runner_algeria.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/indices_runner_angola.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/indices_runner_madagascar.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/indices_runner_malawi.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/indices_runner_mozambique.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/indices_runner_south_africa.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/indices_runner_zambia.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/indices_runner_zimbabwe.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/logger.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/__init__.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/correlations.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/embedding.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/feature_engineering.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/feature_selection.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/outliers.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/outlook.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/output.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/spatial_autocorrelation.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/stages.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/stats.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/trainers.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/trend.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/ml/xai.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/mm.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/__init__.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/aa.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/area.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/automl.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/download_esi.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/enso.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/eval.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/gamtest.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/gee_access.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/misc.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/play_xagg.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/reg.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/sustain.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/test_catboost.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/tmp.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/tmp2.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/tmp3.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/tmp4.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/tmp5.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/wolayita.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/wolayita_maize_mask.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/wolayita_v2.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/playground/wolayita_v3.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/risk/__init__.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/risk/impact_assessment.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/utils.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/viz/__init__.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/viz/gt.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/viz/plot.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/viz/tmp.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif/viz/viz_ml.py +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif.egg-info/SOURCES.txt +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif.egg-info/dependency_links.txt +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif.egg-info/not-zip-safe +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/geocif.egg-info/top_level.txt +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/requirements.txt +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/setup.cfg +0 -0
- {geocif-0.2.47 → geocif-0.2.48}/tests/test_geocif.py +0 -0
@@ -844,8 +844,6 @@ class Geocif:
|
|
844
844
|
# Some models cannot handle any NaN values, so gapfill them
|
845
845
|
if self.model_name in ["gam", "linear"]:
|
846
846
|
for col in self.X_train.columns:
|
847
|
-
if self.X_train[col].isnull().any():
|
848
|
-
breakpoint()
|
849
847
|
median = self.X_train[col].median()
|
850
848
|
self.X_train[col].fillna(median, inplace=True)
|
851
849
|
|
@@ -165,7 +165,7 @@ class cei_runner(base.BaseGeo):
|
|
165
165
|
combinations = [
|
166
166
|
i
|
167
167
|
for i in combinations
|
168
|
-
if "ethiopia" in i[3]
|
168
|
+
# if "ethiopia" in i[3]
|
169
169
|
# or "lesotho_maize" in i[3] or
|
170
170
|
# # "namibia_" in i[2] or
|
171
171
|
# "united_republic_of_tanzania_maize" in i[3]
|
@@ -174,8 +174,8 @@ class cei_runner(base.BaseGeo):
|
|
174
174
|
# or "south_africa_maize" in i[3]
|
175
175
|
# or "mozambique_maize" in i[3]
|
176
176
|
# or "united_states_of_america" in i[3]
|
177
|
-
|
178
|
-
|
177
|
+
if "russian_federation" in i[3]
|
178
|
+
or "ukraine" in i[3]
|
179
179
|
]
|
180
180
|
# "malawi" in i[2]]
|
181
181
|
|
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
|