Adaptively Weighted Ensembles via Stacking

assemble_predictions | Assemble leave-one-season-out or test phase predictions made... |

assemble_stacking_inputs | Assemble a data frame of inputs to stacking |

awes | awes - Adaptively Weighted Ensembles via Stacking |

calc_median_from_binned_probs | Calcluation of median value from binned probability... |

compute_competition_log_score | Calculate "log scores" for the purpose of the competition -... |

fit_kde_log_peak_week_inc | Estimate KDE for LOG peak week incidence |

fit_kde_onset_week | Estimate KDE for onset week |

fit_kde_peak_week | Estimate KDE for peak week |

fit_kde_weekly_inc | Fit a GAM for weekly incidence |

fit_kernel_smoothed_stacked_model_fixed_bw | Estimate weights for a linear combination of predictive... |

fit_region_kdes | Fits and saves KDE models for all region-year combinations |

fit_region_sarima | Estimate series of leave-one-season-out SARIMA models |

fit_stacked_model | Fit a stacking model that assigns weights to component models... |

fit_unregularized_stacked_model | Estimate "optimal" unregularized weights for a linear... |

flu_data | Influenza incidence in the US (1997 - 2016) |

flu_onset_baselines | Flu season "onset thresholds" from the US CDC. |

get_inc_bin | return the bin name for a given incidence |

get_initial_rng_substream | Get the initial rng substream for an rstream object. Should... |

get_log_scores_via_direct_simulation | Get log scores and full predictive distributions for each... |

get_log_scores_via_trajectory_simulation | Get log scores and full predictive distributions for each... |

get_observed_seasonal_quantities | Compute season onset, peak week, and peak incidence |

get_onset_baseline | Get the onset baseline for a combination of region and season |

get_onset_week | Utility function to compute onset week based on a trajectory... |

get_rng_substream | Get the rng substream for an rstream object corresponding to... |

logspace_add | Calculate log(exp(logx) + exp(logy)) in a somewhat... |

logspace_sub | Calculate log(exp(logx) - exp(logy)) in a somewhat... |

logspace_sub_matrix_rows | Calculate logspace difference of matrix rows in a somewhat... |

logspace_sum | Calculate log(sum(exp(logx))) in a somewhat numerically... |

logspace_sum_matrix_rows | Calculate logspace summation of matrix rows in a somewhat... |

make_predictions_dataframe | Helper function to standardize creation of empty prediction... |

predict_kde_log_peak_week_inc | Compute predictive distribution for peak week incidence from... |

predict_kde_log_weekly_inc | Compute predictive distribution for weekly incidence from GAM... |

predict_kde_onset_week | Functions for predicting from KDE fits |

predict_kde_peak_week | Compute predictive distribution for peak week from KDE fit |

predict_region_kde | Wrapper for prediction and evaluation of KDE fits |

sample_predictive_trajectories_arima | Simulate predictive trajectories from an ARIMA model |

sample_predictive_trajectories_arima_wrapper | A wrapper around sample_predictive_trajectories_arima... |

season_week_to_year_week | Convert season week to year week |

simulate_trajectories_kcde | Simulate predictive distributions from KCDE/copulas model;... |

weighted_combine_predictions | Compute a weighted combination of prediction results |

year_week_to_season_week | Convert year week to season week |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.