SYMBOL INDEX (176 symbols across 14 files) FILE: lib/prophet.rb type Prophet (line 18) | module Prophet class Error (line 19) | class Error < StandardError; end function new (line 21) | def self.new(**kwargs) function forecast (line 25) | def self.forecast(series, count: 10, country_holidays: nil, cap: nil, ... function anomalies (line 95) | def self.anomalies(series, interval_width: 0.99, country_holidays: nil... function from_json (line 109) | def self.from_json(model_json) FILE: lib/prophet/diagnostics.rb type Prophet (line 1) | module Prophet type Diagnostics (line 2) | module Diagnostics function generate_cutoffs (line 3) | def self.generate_cutoffs(df, horizon, initial, period) function cross_validation (line 31) | def self.cross_validation(model, horizon:, period: nil, initial: nil... function single_cutoff_forecast (line 89) | def self.single_cutoff_forecast(df, model, cutoff, horizon, predict_... function prophet_copy (line 115) | def self.prophet_copy(m, cutoff = nil) function timedelta (line 156) | def self.timedelta(value) function deepcopy (line 167) | def self.deepcopy(value) function performance_metrics (line 177) | def self.performance_metrics(df, metrics: nil, rolling_window: 0.1, ... function rolling_mean_by_h (line 224) | def self.rolling_mean_by_h(x, h, w, name) function rolling_median_by_h (line 260) | def self.rolling_median_by_h(x, h, w, name) function mse (line 295) | def self.mse(df, w) function rmse (line 303) | def self.rmse(df, w) function mae (line 309) | def self.mae(df, w) function mape (line 317) | def self.mape(df, w) function mdape (line 325) | def self.mdape(df, w) function smape (line 333) | def self.smape(df, w) function coverage (line 341) | def self.coverage(df, w) FILE: lib/prophet/forecaster.rb type Prophet (line 1) | module Prophet class Forecaster (line 2) | class Forecaster method initialize (line 15) | def initialize( method validate_inputs (line 90) | def validate_inputs method validate_column_name (line 125) | def validate_column_name(name, check_holidays: true, check_seasonali... method setup_dataframe (line 156) | def setup_dataframe(df, initialize_scales: false) method initialize_scales (line 226) | def initialize_scales(initialize_scales, df) method set_changepoints (line 252) | def set_changepoints method fourier_series (line 285) | def fourier_series(dates, period, series_order) method make_seasonality_features (line 296) | def make_seasonality_features(dates, period, series_order, prefix) method construct_holiday_dataframe (line 301) | def construct_holiday_dataframe(dates) method make_holiday_features (line 326) | def make_holiday_features(dates, holidays) method add_regressor (line 374) | def add_regressor(name, prior_scale: nil, standardize: "auto", mode:... method add_seasonality (line 393) | def add_seasonality(name:, period:, fourier_order:, prior_scale: nil... method add_country_holidays (line 422) | def add_country_holidays(country_name) method make_all_seasonality_features (line 443) | def make_all_seasonality_features(df) method regressor_column_matrix (line 493) | def regressor_column_matrix(seasonal_features, modes) method add_group_component (line 530) | def add_group_component(components, name, group) method parse_seasonality_args (line 540) | def parse_seasonality_args(name, arg, auto_disable, default_order) method set_auto_seasonalities (line 561) | def set_auto_seasonalities method linear_growth_init (line 609) | def linear_growth_init(df) method logistic_growth_init (line 618) | def logistic_growth_init(df) method flat_growth_init (line 646) | def flat_growth_init(df) method fit (line 652) | def fit(df, **kwargs) method predict (line 737) | def predict(df = nil) method piecewise_linear (line 765) | def piecewise_linear(t, deltas, k, m, changepoint_ts) method piecewise_logistic (line 779) | def piecewise_logistic(t, cap, deltas, k, m, changepoint_ts) method flat_trend (line 798) | def flat_trend(t, m) method predict_trend (line 803) | def predict_trend(df) method predict_seasonal_components (line 821) | def predict_seasonal_components(df) method sample_posterior_predictive (line 846) | def sample_posterior_predictive(df) method predictive_samples (line 879) | def predictive_samples(df) method predict_uncertainty (line 885) | def predict_uncertainty(df) method sample_model (line 900) | def sample_model(df, seasonal_features, iteration, s_a, s_m) method sample_predictive_trend (line 917) | def sample_predictive_trend(df, iteration) method make_future_dataframe (line 961) | def make_future_dataframe(periods:, freq: "D", include_history: true) method to_json (line 1007) | def to_json method convert_df (line 1015) | def convert_df(df) method to_datetime (line 1026) | def to_datetime(vec) method df_concat_axis_one (line 1043) | def df_concat_axis_one(dfs) method poisson (line 1051) | def poisson(lam) method laplace (line 1063) | def laplace(loc, scale, size) method as_json (line 1088) | def as_json method from_json (line 1185) | def self.from_json(model_json) FILE: lib/prophet/holidays.rb type Prophet (line 1) | module Prophet type Holidays (line 2) | module Holidays function get_holiday_names (line 3) | def get_holiday_names(country) function make_holidays_df (line 12) | def make_holidays_df(year_list, country) function holidays_df (line 17) | def holidays_df FILE: lib/prophet/plot.rb type Prophet (line 1) | module Prophet type Plot (line 2) | module Plot function plot (line 3) | def plot(fcst, ax: nil, uncertainty: true, plot_cap: true, xlabel: "... function plot_components (line 34) | def plot_components(fcst, uncertainty: true, plot_cap: true, weekly_... function add_changepoints_to_plot (line 97) | def add_changepoints_to_plot(ax, fcst, threshold: 0.01, cp_color: "r... function plot_cross_validation_metric (line 114) | def self.plot_cross_validation_metric(df_cv, metric:, rolling_window... function plt (line 160) | def self.plt function plot_forecast_component (line 171) | def plot_forecast_component(fcst, name, ax: nil, uncertainty: true, ... function seasonality_plot_df (line 202) | def seasonality_plot_df(ds) function plot_weekly (line 218) | def plot_weekly(ax: nil, uncertainty: true, weekly_start: 0, figsize... function plot_yearly (line 245) | def plot_yearly(ax: nil, uncertainty: true, yearly_start: 0, figsize... function plot_seasonality (line 272) | def plot_seasonality(name:, ax: nil, uncertainty: true, figsize: [10... function set_y_as_percent (line 313) | def set_y_as_percent(ax) function plt (line 321) | def plt function dates (line 325) | def dates function ticker (line 329) | def ticker function to_pydatetime (line 333) | def to_pydatetime(v) FILE: lib/prophet/stan_backend.rb type Prophet (line 1) | module Prophet class StanBackend (line 2) | class StanBackend method initialize (line 3) | def initialize(logger) method load_model (line 8) | def load_model method fit (line 14) | def fit(stan_init, stan_data, **kwargs) method sampling (line 56) | def sampling(stan_init, stan_data, samples, **kwargs) method stan_to_numo (line 94) | def stan_to_numo(column_names, data) method prepare_data (line 135) | def prepare_data(stan_init, stan_data) method platform (line 148) | def platform FILE: lib/prophet/version.rb type Prophet (line 1) | module Prophet FILE: test/anomalies_test.rb class AnomaliesTest (line 3) | class AnomaliesTest < Minitest::Test method test_dates (line 4) | def test_dates method test_times (line 12) | def test_times method test_country_holidays (line 21) | def test_country_holidays method test_country_holidays_unsupported (line 25) | def test_country_holidays_unsupported method test_cap (line 33) | def test_cap method test_unknown_keyword (line 37) | def test_unknown_keyword method generate_series (line 46) | def generate_series FILE: test/diagnostics_test.rb class DiagnosticsTest (line 3) | class DiagnosticsTest < Minitest::Test method test_cross_validation (line 4) | def test_cross_validation method test_cross_validation_cutoffs (line 40) | def test_cross_validation_cutoffs method test_performance_metrics_invalid (line 53) | def test_performance_metrics_invalid method test_performance_metrics_non_unique (line 60) | def test_performance_metrics_non_unique method test_hyperparameter_tuning (line 67) | def test_hyperparameter_tuning FILE: test/forecast_test.rb class ForecastTest (line 3) | class ForecastTest < Minitest::Test method test_daily (line 4) | def test_daily method test_constant_series (line 18) | def test_constant_series method test_weekly (line 31) | def test_weekly method test_monthly (line 44) | def test_monthly method test_quarterly (line 56) | def test_quarterly method test_yearly (line 68) | def test_yearly method test_hourly_local (line 80) | def test_hourly_local method test_hourly_utc (line 94) | def test_hourly_utc method test_hourly_active_support (line 108) | def test_hourly_active_support method test_unknown_frequency (line 131) | def test_unknown_frequency method test_count (line 144) | def test_count method test_country_holidays (line 153) | def test_country_holidays method test_cap (line 158) | def test_cap method test_bad_key (line 162) | def test_bad_key method test_few_data_points (line 173) | def test_few_data_points method test_unknown_keyword (line 180) | def test_unknown_keyword method generate_series (line 189) | def generate_series FILE: test/prophet_test.rb class ProphetTest (line 3) | class ProphetTest < Minitest::Test method setup (line 4) | def setup method teardown (line 9) | def teardown method test_linear (line 16) | def test_linear method test_logistic (line 43) | def test_logistic method test_logistic_floor (line 68) | def test_logistic_floor method test_flat (line 85) | def test_flat method test_changepoints (line 112) | def test_changepoints method test_holidays (line 123) | def test_holidays method test_country_holidays (line 150) | def test_country_holidays method test_country_holidays_unsupported (line 177) | def test_country_holidays_unsupported method test_mcmc_samples (line 185) | def test_mcmc_samples method test_custom_seasonality (line 200) | def test_custom_seasonality method test_regressors (line 213) | def test_regressors method test_multiplicative_seasonality (line 235) | def test_multiplicative_seasonality method test_override_seasonality_mode (line 248) | def test_override_seasonality_mode method test_subdaily (line 262) | def test_subdaily method test_no_changepoints (line 281) | def test_no_changepoints method test_polars (line 290) | def test_polars method test_infinity (line 315) | def test_infinity method test_missing_columns (line 325) | def test_missing_columns method test_updating_fitted_model (line 335) | def test_updating_fitted_model method test_outliers (line 344) | def test_outliers method test_holidays_and_regressor (line 354) | def test_holidays_and_regressor method test_add_regressor_reserved (line 360) | def test_add_regressor_reserved method test_add_regressor_holidays (line 368) | def test_add_regressor_holidays method test_add_regressor_country_holidays (line 380) | def test_add_regressor_country_holidays method test_add_regressor_seasonality (line 389) | def test_add_regressor_seasonality method test_add_seasonality_regressor (line 398) | def test_add_seasonality_regressor method test_scaling (line 407) | def test_scaling method stan_init (line 415) | def stan_init(m) method plot (line 426) | def plot(m, forecast, name) method mac? (line 440) | def mac? FILE: test/save_load_test.rb class SaveLoadTest (line 3) | class SaveLoadTest < Minitest::Test method test_save_load (line 4) | def test_save_load method test_load_in_python (line 21) | def test_load_in_python method test_load_from_python (line 34) | def test_load_from_python method test_to_json_not_fit (line 50) | def test_to_json_not_fit FILE: test/support/regressors.py function nfl_sunday (line 7) | def nfl_sunday(ds): FILE: test/test_helper.rb class Minitest::Test (line 9) | class Minitest::Test method assert_elements_in_delta (line 10) | def assert_elements_in_delta(expected, actual, delta = 0.3) method assert_times (line 17) | def assert_times(exp, act) method load_example (line 21) | def load_example method test_python? (line 25) | def test_python?