Skip to content
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.

Commit

Permalink
Further cleanup/depersonalize examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ceholden committed Sep 15, 2017
1 parent c75a9d5 commit af8589a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 53 deletions.
2 changes: 1 addition & 1 deletion examples/envvar/envvar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dataset:
# Parameters common to all timeseries analysis models within YATSM package
YATSM:
algorithm: "CCDCesque"
prediction: "glmnet_Lasso20"
prediction: "sklearn_Lasso20"
design_matrix: "1 + x + harm(x, 1) + harm(x, 2)"
reverse: False
commission_alpha:
Expand Down
4 changes: 2 additions & 2 deletions examples/p013r030/p013r030.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dataset:
# Parameters common to all timeseries analysis models within YATSM package
YATSM:
algorithm: "CCDCesque"
prediction: "glmnet_Lasso20"
prediction: "sklearn_Lasso20"
design_matrix: "1 + x + harm(x, 1) + harm(x, 2) + harm(x, 3)"
reverse: False
commission_alpha:
Expand Down Expand Up @@ -83,7 +83,7 @@ phenology:
# Section for training and classification
classification:
# Training data file
training_image: "/home/ceholden/Documents/yatsm/examples/training_data.gtif"
training_image: "training_data.gtif"
# Training data masked values
roi_mask_values: [0, 255]
# Date range
Expand Down
27 changes: 2 additions & 25 deletions examples/p022r049/p022r049.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ dataset:
# Parameters common to all timeseries analysis models within YATSM package
YATSM:
algorithm: "CCDCesque"
prediction: "LassoCV"
prediction: "sklearn_Lasso20"
design_matrix: "1 + x + harm(x, 1)"
reverse: False
commission_alpha:
# Re-fit each segment, adding new coefficients & RMSE info to record
refit:
prefix: [robust]
prediction: [RLM]
prediction: [rlm_maxiter10]
stay_regularized: [True]

# Parameters for CCDCesque algorithm -- referenced by "algorithm" key in YATSM
Expand All @@ -62,29 +62,6 @@ CCDCesque:
remove_noise: True
dynamic_rmse: False

# Regression estimators
LassoCV:
pickle: "/home/ceholden/Documents/yatsm/yatsm/regression/pickles/sklearn_LassoCV_n50.pkl"
fit: # optional arguments to the ``fit`` method of the predictor

Lasso20:
pickle: "/home/ceholden/Documents/yatsm/yatsm/regression/pickles/sklearn_Lasso20.pkl"

OLS:
pickle: "/home/ceholden/Documents/yatsm/yatsm/regression/pickles/OLS.pkl"

GLMNET_LassoCV:
pickle: "/home/ceholden/Documents/yatsm/yatsm/regression/pickles/glmnet_LassoCV_n50.pkl"

GLMNET_Lasso20:
pickle: "/home/ceholden/Documents/yatsm/yatsm/regression/pickles/glmnet_Lasso20.pkl"
fit:
# 4 penalties for 4 coefficients
penalties: [1, 0, 1, 1]

RLM:
pickle: "/home/ceholden/Documents/yatsm/yatsm/regression/pickles/rlm_maxiter10.pkl"

# Section for phenology fitting
phenology:
enable: False
Expand Down
27 changes: 2 additions & 25 deletions examples/p035r032/p035r032.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dataset:
# Parameters common to all timeseries analysis models within YATSM package
YATSM:
algorithm: "CCDCesque"
prediction: "LassoCV"
prediction: "sklearn_Lasso20"
design_matrix: "1 + x + harm(x, 1) + harm(x, 2)"
reverse: False
commission_alpha:
Expand All @@ -61,29 +61,6 @@ CCDCesque:
remove_noise: True
dynamic_rmse: False

# Regression estimators
LassoCV:
pickle: "/home/ceholden/Documents/yatsm/yatsm/regression/pickles/sklearn_LassoCV_n50.pkl"
fit: # optional arguments to the ``fit`` method of the predictor

Lasso20:
pickle: "/home/ceholden/Documents/yatsm/yatsm/regression/pickles/sklearn_Lasso20.pkl"

OLS:
pickle: "/home/ceholden/Documents/yatsm/yatsm/regression/pickles/OLS.pkl"

GLMNET_LassoCV:
pickle: "/home/ceholden/Documents/yatsm/yatsm/regression/pickles/glmnet_LassoCV_n50.pkl"

GLMNET_Lasso20:
pickle: "/home/ceholden/Documents/yatsm/yatsm/regression/pickles/glmnet_Lasso20.pkl"
fit:
# 6 penalties for 6 coefficients
penalties: [1, 0, 1, 1, 1, 1]

RLM:
pickle: "/home/ceholden/Documents/yatsm/yatsm/regression/pickles/rlm_maxiter10.pkl"

# Section for phenology fitting
phenology:
enable: False
Expand All @@ -106,7 +83,7 @@ phenology:
# Section for training and classification
classification:
# Training data file
training_image: "/home/ceholden/Documents/yatsm/examples/training_data.gtif"
training_image: "training_data.gtif"
# Training data masked values
roi_mask_values: [0, 255]
# Date range
Expand Down

0 comments on commit af8589a

Please sign in to comment.