Skip to content

Instantly share code, notes, and snippets.

@piEsposito
Created April 14, 2020 21:45
Show Gist options
  • Save piEsposito/58bc140ac8da76b3df0af08acca73258 to your computer and use it in GitHub Desktop.
Save piEsposito/58bc140ac8da76b3df0af08acca73258 to your computer and use it in GitHub Desktop.
future_length=7
sample_nbr=4
ci_multiplier=10
idx_pred, preds_test = pred_stock_future(X_test, future_length, sample_nbr)
pred_mean_unscaled, upper_bound_unscaled, lower_bound_unscaled = get_confidence_intervals(preds_test,
ci_multiplier)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment