Skip to content

Commit

Permalink
examples.md
Browse files Browse the repository at this point in the history
  • Loading branch information
josemanuel22 committed Mar 1, 2024
1 parent ff3b04d commit ce684ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/time_series_predictions/benchmark_ts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ end
plot_univariate_ts_prediction(
recurrent_model,
generative_model,
collect(loaderXtrain)[1], # Extract the first batch for plotting
collect(loaderXtest)[1], # Extract the first batch for plotting
collect(loaderXtrain)[2], # Extract the first batch for plotting
collect(loaderXtest)[2], # Extract the first batch for plotting
ts_hparams;
n_average=1000, # Number of predictions to average
)
Expand Down Expand Up @@ -304,6 +304,7 @@ Example:
)
plot(prediction[1:τ])
plot!(xtest[1:τ])
end

"""
Run experiments for testing electricity-c consumption time series forecasting.
Expand Down

0 comments on commit ce684ea

Please sign in to comment.