Skip to content

Commit

Permalink
added pytorch forecasting wrapper to make it easier
Browse files Browse the repository at this point in the history
  • Loading branch information
youssefmecky96 committed Oct 31, 2023
1 parent 119dbcf commit d03deed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configs/tasks/BinaryClassification.gin
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ train_common.ram_cache = True

# DEEP LEARNING
DLPredictionWrapper.loss = @cross_entropy

DLPredictionPytorchForecastingWrapper.loss= @cross_entropy
# SELECTING PREPROCESSOR
preprocess.preprocessor = @base_classification_preprocessor
preprocess.vars = %vars
Expand Down
1 change: 1 addition & 0 deletions configs/tasks/Regression.gin
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ train_common.ram_cache = True

# LOSS FUNCTION
DLPredictionWrapper.loss = @mse_loss
DLPredictionPytorchForecastingWrapper.loss = @mse_loss
MLWrapper.loss = @mean_squared_error

# SELECTING PREPROCESSOR
Expand Down

0 comments on commit d03deed

Please sign in to comment.