Skip to content

prophet 1.3.0

Version history | Download JSON

  • PyPI https://pypi.org/project/prophet/
    Repository https://github.com/facebook/prophet

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 59
        "Any" : 0
        "Untyped" : 409
    • 12.6% coverage
    • 12.6% coverage (strict)
    • 468 typable
      • 59 typed
      • 409 untyped
      • 0 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 191
        "classes" : 230
        "other" : 8
    • 41 functions (+0 overloads)
      • 150 parameters
    • 7 classes
      • 63 methods (+0 overloads)
        • 167 parameters
      • 0 properties
    • 8 modules
      • 8 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
prophet 0.0% 0.0% 1 0
prophet.diagnostics 0.0% 0.0% 63 0
prophet.forecaster 22.4% 22.4% 228 0
prophet.make_holidays 0.0% 0.0% 9 0
prophet.models 18.2% 18.2% 44 0
prophet.plot 0.0% 0.0% 107 0
prophet.serialize 0.0% 0.0% 9 0
prophet.utilities 0.0% 0.0% 7 0

Incomplete Annotations

prophet (1 missing, 0 any)

Symbol Typable Typed Any
attr here 1 0 0

prophet.diagnostics (63 missing, 0 any)

Symbol Typable Typed Any
func rolling_median_by_h 5 0 0
func rolling_mean_by_h 5 0 0
func prophet_copy 3 0 0
func coverage 3 0 0
func cross_validation 9 0 0
func single_cutoff_forecast 6 0 0
func mdape 3 0 0
func mae 3 0 0
func rmse 3 0 0
attr PERFORMANCE_METRICS 1 0 0
func register_performance_metric 2 0 0
func smape 3 0 0
func mape 3 0 0
func generate_cutoffs 5 0 0
attr logger 1 0 0
func mse 3 0 0
func performance_metrics 5 0 0

prophet.forecaster (177 missing, 0 any)

Symbol Typable Typed Any
attr logger 1 0 0
meth Prophet.init 19 1 0
meth Prophet._load_stan_backend 2 0 0
meth Prophet.validate_inputs 1 0 0
meth Prophet.validate_column_name 5 0 0
meth Prophet.setup_dataframe 3 0 0
meth Prophet.initialize_scales 3 0 0
meth Prophet.set_changepoints 1 0 0
meth Prophet.make_seasonality_features 5 0 0
meth Prophet.construct_holiday_dataframe 2 0 0
meth Prophet.make_holiday_features 3 0 0
meth Prophet.add_regressor 5 0 0
meth Prophet.add_seasonality 7 0 0
meth Prophet.add_country_holidays 2 0 0
meth Prophet.make_all_seasonality_features 2 0 0
meth Prophet.regressor_column_matrix 3 0 0
meth Prophet.add_group_component 4 0 0
meth Prophet.parse_seasonality_args 5 0 0
meth Prophet.set_auto_seasonalities 1 0 0
meth Prophet.linear_growth_init 2 0 0
meth Prophet.logistic_growth_init 2 0 0
meth Prophet.flat_growth_init 2 0 0
meth Prophet.preprocess 3 2 0
meth Prophet.fit 3 0 0
meth Prophet.piecewise_linear 6 0 0
meth Prophet.piecewise_logistic 7 0 0
meth Prophet.flat_trend 3 0 0
meth Prophet.predict_trend 2 0 0
meth Prophet.predict_seasonal_components 2 0 0
meth Prophet.sample_model 6 1 0
meth Prophet.sample_predictive_trend 3 0 0
meth Prophet._make_historical_mat_time 6 0 0
meth Prophet.predictive_samples 3 2 0
meth Prophet.percentile 4 0 0
meth Prophet.make_future_dataframe 4 0 0
meth Prophet.plot 9 0 0
meth Prophet.plot_components 7 0 0
attr Prophet.growth 1 0 0
attr Prophet.changepoints 1 0 0
attr Prophet.changepoint_range 1 0 0
attr Prophet.yearly_seasonality 1 0 0
attr Prophet.weekly_seasonality 1 0 0
attr Prophet.daily_seasonality 1 0 0
attr Prophet.holidays 1 0 0
attr Prophet.seasonality_mode 1 0 0
attr Prophet.holidays_mode 1 0 0
attr Prophet.seasonality_prior_scale 1 0 0
attr Prophet.changepoint_prior_scale 1 0 0
attr Prophet.holidays_prior_scale 1 0 0
attr Prophet.mcmc_samples 1 0 0
attr Prophet.interval_width 1 0 0
attr Prophet.uncertainty_samples 1 0 0
attr Prophet.scaling 1 0 0
attr Prophet.start 1 0 0
attr Prophet.y_min 1 0 0
attr Prophet.y_scale 1 0 0
attr Prophet.logistic_floor 1 0 0
attr Prophet.t_scale 1 0 0
attr Prophet.changepoints_t 1 0 0
attr Prophet.seasonalities 1 0 0
attr Prophet.extra_regressors 1 0 0
attr Prophet.country_holidays 1 0 0
attr Prophet.stan_fit 1 0 0
attr Prophet.params 1 0 0
attr Prophet.history 1 0 0
attr Prophet.history_dates 1 0 0
attr Prophet.train_component_cols 1 0 0
attr Prophet.component_modes 1 0 0
attr Prophet.train_holiday_names 1 0 0
attr Prophet.fit_kwargs 1 0 0
attr Prophet.n_changepoints 1 0 0
attr Prophet.specified_changepoints 1 0 0

prophet.make_holidays (9 missing, 0 any)

Symbol Typable Typed Any
func make_holidays_df 5 0 0
func get_country_holidays_class 2 0 0
func get_holiday_names 2 0 0

prophet.models (36 missing, 0 any)

Symbol Typable Typed Any
attr PLATFORM 1 0 0
meth IStanBackend.init 1 0 0
meth IStanBackend.set_options 2 0 0
meth IStanBackend.cleanup 1 0 0
meth IStanBackend.get_type 1 0 0
meth IStanBackend.load_model 1 0 0
meth IStanBackend.fit 4 1 0
meth IStanBackend.sampling 5 1 0
attr IStanBackend.model 1 0 0
attr IStanBackend.stan_fit 1 0 0
attr IStanBackend.newton_fallback 1 0 0
attr logger 1 0 0
meth CmdStanPyBackend.init 1 0 0
meth CmdStanPyBackend.get_type 1 0 0
meth CmdStanPyBackend.load_model 1 0 0
meth CmdStanPyBackend.fit 4 0 0
meth CmdStanPyBackend.sampling 5 1 0
meth CmdStanPyBackend.cleanup 1 0 0
meth CmdStanPyBackend.sanitize_custom_inits 3 0 0
meth CmdStanPyBackend.prepare_data 3 1 0
meth CmdStanPyBackend.stan_to_dict_numpy 3 2 0

prophet.plot (107 missing, 0 any)

Symbol Typable Typed Any
func plot_components 8 0 0
func plot 10 0 0
func plot_components_plotly 6 0 0
func plot_forecast_component 8 0 0
func plot_weekly 7 0 0
func set_y_as_percent 2 0 0
func plot_forecast_component_plotly 7 0 0
func plot_yearly 7 0 0
func plot_cross_validation_metric 8 0 0
func add_changepoints_to_plot 8 0 0
func plot_seasonality 6 0 0
func plot_seasonality_plotly 5 0 0
func get_seasonality_plotly_props 4 0 0
func seasonality_plot_df 3 0 0
func get_forecast_component_plotly_props 6 0 0
attr logger 1 0 0
func plot_plotly 11 0 0

prophet.serialize (9 missing, 0 any)

Symbol Typable Typed Any
func model_to_json 2 0 0
attr here 1 0 0
func model_to_dict 2 0 0
func model_from_dict 2 0 0
func model_from_json 2 0 0

prophet.utilities (7 missing, 0 any)

Symbol Typable Typed Any
func regressor_coefficients 2 0 0
func warm_start_params 2 0 0
func regressor_index 3 0 0

Type-Ignore Comments

No type-ignore comments.