Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/linkedin/greykite
/ functions
Functions
2,034 in github.com/linkedin/greykite
⨍
Functions
2,034
◇
Types & classes
151
↳
Endpoints
13
Method
__init__
( self, df: pd.DataFrame, time_col: str, value_col: str,
greykite/algo/common/holiday_grouper.py:177
Method
__init__
( self, quantile: float = 0.9, alpha: float = 0.001, sample_we
greykite/algo/common/l1_quantile_regression.py:216
Method
__init__
( self, x, y, pred_cols, pred_category,
greykite/algo/common/model_summary.py:67
Method
__init__
Computes attributes given the tree structure in ``levels``. Parameters ---------- levels : `list` [`list` [`int]] or None
greykite/algo/reconcile/hierarchical_relationship.py:174
Method
__init__
(self)
greykite/algo/reconcile/convex/reconcile_forecasts.py:679
Method
__iter__
(self)
greykite/algo/common/model_summary_utils.py:657
Method
__next__
(self)
greykite/algo/common/model_summary_utils.py:660
Method
__radd__
Right addition.
greykite/detection/detector/reward.py:199
Method
__rmul__
Right multiplication.
greykite/detection/detector/reward.py:203
Method
__rtruediv__
Right division.
greykite/detection/detector/reward.py:207
Method
__truediv__
Division of objects or an object with a number.
greykite/detection/detector/reward.py:181
Function
_cached_call
Call estimator with method and args and kwargs. This code is private in scikit-learn 0.24, so it is copied here.
greykite/sklearn/sklearn_scorer.py:36
Method
_iter_test_indices
Class directly implements `split` instead of providing this function
greykite/sklearn/cross_validation.py:333
Method
_select_proba_binary
Select the column of the positive label in `y_pred` when probabilities are provided. Parameters ---------- y_pred : nd
greykite/sklearn/sklearn_scorer.py:65
Method
_silverkite_holiday
Holiday constants used by the estimator.
greykite/framework/templates/simple_silverkite_template.py:627
Function
add_features_one_df
(joined_df)
greykite/tests/detection/detector/test_best_forecast.py:62
Method
add_features_one_df
Adds features to one joined dataframe. This will be used to add features to all joined dataframes. Parameters ----------
greykite/detection/detector/ape_based.py:83
Method
allow_model_components_param_list
SilverkiteTemplate does not allow `config.model_components_param` to be a list.
greykite/framework/templates/silverkite_template.py:451
Method
allow_model_components_param_list
SilverkiteTemplate allows `config.model_components_param` to be a list.
greykite/framework/templates/simple_silverkite_template.py:616
Method
allow_model_components_param_list
AutoArimaTemplate does not allow `config.model_components_param` to be a list.
greykite/framework/templates/auto_arima_template.py:141
Method
allow_model_components_param_list
LagBasedTemplate does not allow `config.model_components_param` to be a list.
greykite/framework/templates/lag_based_template.py:64
Method
allow_model_components_param_list
Whether the template accepts a list for `config.model_components_param` (bool)
greykite/framework/templates/template_interface.py:63
Method
allow_model_components_param_list
(self)
greykite/framework/templates/multistage_forecast_template.py:545
Method
allow_model_components_param_list
ProphetTemplate does not allow `config.model_components_param` to be a list.
greykite/framework/templates/prophet_template.py:232
Method
allow_model_components_param_list
(self)
greykite/tests/framework/templates/test_base_template.py:58
Method
allow_model_components_param_list
(self)
greykite/tests/framework/templates/test_template_interface.py:18
Method
allow_model_template_list
SilverkiteTemplate does not allow `config.model_template` to be a list.
greykite/framework/templates/silverkite_template.py:446
Method
allow_model_template_list
SimpleSilverkiteTemplate allows config.model_template to be a list.
greykite/framework/templates/simple_silverkite_template.py:611
Method
allow_model_template_list
AutoArimaTemplate does not allow `config.model_template` to be a list.
greykite/framework/templates/auto_arima_template.py:136
Method
allow_model_template_list
LagBasedTemplate does not allow `config.model_template` to be a list.
greykite/framework/templates/lag_based_template.py:59
Method
allow_model_template_list
Whether the template accepts a list for `config.model_template` (bool)
greykite/framework/templates/template_interface.py:58
Method
allow_model_template_list
(self)
greykite/framework/templates/multistage_forecast_template.py:541
Method
allow_model_template_list
ProphetTemplate does not allow `config.model_template` to be a list.
greykite/framework/templates/prophet_template.py:227
Method
allow_model_template_list
(self)
greykite/tests/framework/templates/test_base_template.py:54
Method
allow_model_template_list
(self)
greykite/tests/framework/templates/test_template_interface.py:14
Function
apply_defaults_and_fit
Overwrites ``fit_params`` with those specified by ``fit_params["method"]``. Calls ``fit_func`` with those params. Parameters
greykite/algo/reconcile/convex/reconcile_forecasts.py:221
Method
apply_template_decorator
Decorator for ``apply_template_for_pipeline_params`` function. Overrides the method in `~greykite.framework.templates.base_template.BaseTempl
greykite/framework/templates/silverkite_template.py:643
Method
apply_template_decorator
Decorator for ``apply_template_for_pipeline_params`` function. Overrides the method in `~greykite.framework.templates.base_template.BaseTempl
greykite/framework/templates/auto_arima_template.py:333
Method
apply_template_decorator
Decorator for ``apply_template_for_pipeline_params`` function. Overrides the method in `~greykite.framework.templates.base_template.BaseTempl
greykite/framework/templates/lag_based_template.py:187
Method
apply_template_decorator
Decorator for ``apply_template_for_pipeline_params`` function. By default, this applies ``apply_forecast_config_defaults`` to ``config``.
greykite/framework/templates/base_template.py:268
Method
apply_template_decorator
Decorator for ``apply_template_for_pipeline_params`` function. Overrides the method in `~greykite.framework.templates.base_template.BaseTempl
greykite/framework/templates/prophet_template.py:560
Method
apply_template_for_pipeline_params
Explicitly calls the method in `~greykite.framework.templates.base_template.BaseTemplate` to make use of the decorator in this class.
greykite/framework/templates/lag_based_template.py:209
Method
apply_template_for_pipeline_params
Converts forecast config to pipeline params. Takes input data and optional configuration parameters to customize the model. Returns a
greykite/framework/templates/template_interface.py:67
Function
build_lags_func_multi
A function which generates a lagged dataframe for a given dataframe with potentially multiple value columns to be lagged. Note `df` an
greykite/common/features/timeseries_lags.py:625
Function
calc_with_param
(param, data)
greykite/tests/detection/detector/test_best_forecast.py:68
Function
calc_with_param
This is the calculation step with ``param`` and ``data``. In this simple example, this does not depend on ``data.``
greykite/tests/detection/detector/test_optimizer.py:35
Method
calc_with_param
Predicts anomalies assuming the parameters: - ``volatility_features`` - ``coverage`` are passed. This will enable op
greykite/detection/detector/greykite.py:322
Method
calc_with_param
( self, param, data)
greykite/tests/detection/detector/test_detector.py:102
Method
calc_with_param
( self, param, data)
greykite/tests/detection/detector/test_detector.py:191
Function
choose_color_func
(x)
greykite/tests/common/viz/test_timeseries_plotting_mpl.py:166
Function
choose_color_func
(color_values)
greykite/common/viz/timeseries_plotting_mpl.py:332
Function
config_silverkite_daily
()
greykite/tests/sklearn/estimator/test_multistage_forecast_estimator.py:134
Function
config_silverkite_daily_2
()
greykite/tests/sklearn/estimator/test_multistage_forecast_estimator.py:174
Function
configs
()
greykite/tests/algo/common/test_seasonality_inferrer.py:25
Method
constants
Constants used by the template class. Includes the model templates and their default values.
greykite/framework/templates/multistage_forecast_template.py:68
Function
custom_loss
Root mean absolute error
greykite/tests/framework/output/test_univariate_forecast.py:252
Function
custom_tscv
()
greykite/tests/framework/benchmark/test_benchmark_class.py:192
Function
daily_data
()
greykite/tests/framework/templates/test_auto_model_template.py:31
Function
daily_data
()
greykite/tests/sklearn/estimator/test_simple_silverkite_estimator.py:173
Function
daily_data
()
greykite/tests/sklearn/estimator/test_auto_arima_estimator.py:74
Function
daily_data
()
greykite/tests/sklearn/estimator/test_base_silverkite_estimator.py:63
Function
daily_data
()
greykite/tests/sklearn/estimator/test_prophet_estimator.py:137
Function
daily_data
()
greykite/tests/sklearn/estimator/test_one_by_one_estimator.py:21
Function
daily_data
()
greykite/tests/sklearn/estimator/test_silverkite_estimator.py:140
Function
daily_data
()
greykite/tests/sklearn/estimator/test_multistage_forecast_estimator.py:123
Function
daily_data
Generates data for testing `GreykiteDetector`.
greykite/tests/detection/common/test_pickler.py:55
Function
daily_data
Generates data for testing `GreykiteDetector`.
greykite/tests/detection/detector/test_greykite.py:120
Function
daily_data_reg
()
greykite/tests/sklearn/estimator/test_prophet_estimator.py:147
Function
daily_data_reg
Generates daily data with regressors for tests. Returns ------- df : pd.DataFrame with columns of type: datetime, number, number,
greykite/tests/algo/forecast/silverkite/test_forecast_simple_silverkite.py:37
Function
daily_data_with_reg
()
greykite/tests/sklearn/estimator/test_simple_silverkite_estimator.py:182
Function
daily_data_with_reg
()
greykite/tests/sklearn/estimator/test_base_silverkite_estimator.py:72
Function
daily_data_with_reg
()
greykite/tests/sklearn/estimator/test_silverkite_estimator.py:149
Function
daily_df
()
greykite/tests/algo/common/test_holiday_grouper.py:17
Function
daily_df
()
greykite/tests/algo/common/test_holiday_inferrer.py:17
Function
daily_event_df_dict
A sample holiday configuration.
greykite/tests/algo/common/test_holiday_utils.py:61
Function
data
Generates dataset for test cases :return: pd.DataFrame with columns of type: datetime, number, number, boolean, object, category
greykite/tests/sklearn/transform/test_dtype_column_selector.py:12
Function
data
Generates test dataframe for outlier detection
greykite/tests/sklearn/transform/test_difference_based_outlier_transformer.py:16
Function
data
Generates test dataframe for null imputation
greykite/tests/sklearn/transform/test_null_transformer.py:16
Function
data
Generates iris dataset for test cases :return:
greykite/tests/sklearn/transform/test_column_selector.py:12
Function
data
Generates test dataframe for outlier detection
greykite/tests/sklearn/transform/test_zscore_outlier_transformer.py:16
Function
data
()
greykite/tests/common/features/test_adjust_anomalous_data.py:17
Function
data
Generates data for testing.
greykite/tests/common/features/test_outlier.py:22
Function
data
Sample data for regression.
greykite/tests/algo/common/test_l1_quantile_regression.py:14
Function
data
()
greykite/tests/algo/reconcile/convex/test_reconcile_forecasts.py:29
Function
data
Generate data for tests
greykite/tests/algo/uncertainty/conditional/test_conf_interval.py:12
Function
data_with_weights
Training data with weights
greykite/tests/algo/common/test_ml_models.py:50
Function
decorator_ignore
(fn)
greykite/common/python_utils.py:783
Function
default_holidays
Default holidays by country params
greykite/tests/framework/templates/test_prophet_template.py:41
Function
design_mat_info
Training data in design matrix form
greykite/tests/algo/common/test_ml_models.py:33
Method
detect_logic
The logic of outlier detection, after `fit` is done. This method uses the fit information to decide which points are outliers and what
greykite/common/features/outlier.py:590
Method
detect_logic
The logic of outlier detection, after `fit` is done. This method uses the fit information to decide which points are outliers and what
greykite/common/features/outlier.py:768
Function
df
()
greykite/tests/framework/output/test_univariate_forecast.py:33
Function
df
()
greykite/tests/framework/templates/test_pickle_utils.py:30
Function
df
()
greykite/tests/framework/templates/test_multistage_forecast_template.py:28
Function
df
()
greykite/tests/framework/templates/test_base_template.py:28
Function
df
()
greykite/tests/framework/benchmark/test_benchmark_class.py:40
Function
df
8 months of daily data
greykite/tests/framework/pipeline/test_pipeline.py:60
Function
df
()
greykite/tests/sklearn/estimator/test_base_forecast_estimator.py:52
Function
df
()
greykite/tests/sklearn/uncertainty/test_simple_conditional_residuals_model.py:18
Function
df
()
greykite/tests/algo/common/test_seasonality_inferrer.py:16
← previous
next →
801–900 of 2,034, ranked by callers