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
↓ 1 callers
Method
get_silverkite_seasonality_enum
Return the SilverkiteSeasonalityEnum constants
greykite/algo/forecast/silverkite/constants/silverkite_seasonality.py:103
↓ 1 callers
Method
get_silverkite_time_frequency_enum
Return the SilverkiteTimeFrequencyEnum constants
greykite/algo/forecast/silverkite/constants/silverkite_time_frequency.py:106
↓ 1 callers
Function
get_us_dst_end
For each year, it returns the first Sunday in November, which is the end of the daylight saving (DST) in US/Canada. We assume DST ends on Sec
greykite/common/features/timeseries_features.py:170
↓ 1 callers
Function
get_us_dst_start
For each year, it returns the second Sunday in March, which is the start of the daylight saving (DST) in US/Canada. We assume DST starts on S
greykite/common/features/timeseries_features.py:145
↓ 1 callers
Function
growth_func
(x)
greykite/common/features/timeseries_features.py:1096
↓ 1 callers
Function
helper_test_h_mat
(const_val, remove_intercept, fit_algorithm, normalize_method)
greykite/tests/algo/common/test_ml_models.py:1347
↓ 1 callers
Method
load_sunspot
Loads the Sunspot dataset. This dataset contains the number of observed sunspots from 1818 to 2020 published by Monash. The o
greykite/common/data_loader.py:489
↓ 1 callers
Method
make_univariate_time_series
Converts prediction into a UnivariateTimeSeries Useful to convert a forecast into the input regressor for a subsequent forecast. :ret
greykite/framework/output/univariate_forecast.py:741
↓ 1 callers
Function
method_caller
Call estimator with method and args and kwargs.
greykite/tests/sklearn/test_sklearn_scorer.py:26
↓ 1 callers
Method
next
(self)
greykite/algo/common/model_summary_utils.py:663
↓ 1 callers
Method
plot_components
Makes the component plots. If only one estimator is used, its component plot is returned. If multiple estimators are used, a list of
greykite/sklearn/estimator/one_by_one_estimator.py:451
↓ 1 callers
Function
plt_overlay_with_bands
Overlay by splitting wrt a column and plot wrt time. We also add quantile (percentile) bands :param df: pd.DataFrame data frame wh
greykite/common/viz/timeseries_plotting_mpl.py:229
↓ 1 callers
Function
predict
Predicts for new dataframe (new_df) using the fitted model. :param new_df: a dataframe of new data which must include the time_col and match_c
greykite/algo/forecast/similarity/forecast_similarity_based.py:128
↓ 1 callers
Method
predict
Predicts for new data. Parameters ---------- x : `numpy.array` or `pandas.DataFrame` The new data matrix.
greykite/algo/common/partial_regularize_regression.py:184
↓ 1 callers
Method
predict_n_via_sim
This is the forecast function which can be used to forecast. This function's predictions are constructed using simulations from the fi
greykite/algo/forecast/silverkite/forecast_silverkite.py:1884
↓ 1 callers
Method
prep_df_for_predict
This will prepares the detection data (``data``) by applying the joins and adding features. Parameters ---------- dat
greykite/detection/detector/forecast_based.py:189
↓ 1 callers
Function
prepare_bikesharing_data
Loads bike-sharing data and adds proper regressors.
docs/nbpages/quickstart/02_interpretability/0200_interpretability.py:51
↓ 1 callers
Method
reward_func
(*args, **kwargs)
greykite/detection/detector/reward.py:154
↓ 1 callers
Method
summary
Returns the model summary. If only one estimator is used, its model summary is returned. If multiple estimators are used, a list of t
greykite/sklearn/estimator/one_by_one_estimator.py:434
↓ 1 callers
Method
summary
The summary of model.
greykite/sklearn/estimator/lag_based_estimator.py:454
↓ 1 callers
Method
summary
Prints input parameters and DummyRegressor model parameters
greykite/sklearn/estimator/null_model.py:171
↓ 1 callers
Method
summary
Returns a summary of the fitted model. Fetches the summary from the forecast estimator and adds it to the summary of the base class.
greykite/detection/detector/greykite.py:616
↓ 1 callers
Function
train_forecast_fcn
It constructs a function which fits data and then forecasts for the given parameters. The constructed function will be an input to ``~
greykite/tests/algo/forecast/silverkite/test_forecast_silverkite.py:2480
↓ 1 callers
Method
transform
Transforms X separately by each transformer, concatenates results. Modified from `sklearn.pipeline.FeatureUnion` Parameters
greykite/sklearn/transform/pandas_feature_union.py:107
↓ 1 callers
Method
transform
Calculates time series features of the input time series Parameters ---------- X : pd.DataFrame Returns ---
greykite/sklearn/transform/build_timeseries_features_transformer.py:57
↓ 1 callers
Method
validate_inputs
Validates the inputs to ``SilverkiteEstimator``.
greykite/sklearn/estimator/silverkite_estimator.py:188
Function
X
()
greykite/tests/sklearn/estimator/test_simple_silverkite_estimator.py:187
Function
X
()
greykite/tests/sklearn/estimator/test_auto_arima_estimator.py:90
Function
X
()
greykite/tests/sklearn/estimator/test_base_silverkite_estimator.py:77
Function
X
()
greykite/tests/sklearn/estimator/test_prophet_estimator.py:156
Function
X
()
greykite/tests/sklearn/estimator/test_silverkite_estimator.py:154
Function
X
()
greykite/tests/sklearn/estimator/test_base_forecast_estimator.py:43
Function
X
dataset for test cases
greykite/tests/sklearn/transform/test_pandas_feature_union.py:21
Function
X_custom
()
greykite/tests/sklearn/estimator/test_base_forecast_estimator.py:34
Function
X_reg
()
greykite/tests/sklearn/estimator/test_prophet_estimator.py:166
Method
__call__
Evaluate predicted target values for X relative to y_true. Parameters ---------- estimator : object Trained estima
greykite/sklearn/sklearn_scorer.py:100
Method
__init__
( self, df, time_col=cst.TIME_COL, actual_col=cst.ACTUAL_COL,
greykite/framework/output/univariate_forecast.py:112
Method
__init__
( self, estimator: BaseForecastEstimator = SilverkiteEstimator())
greykite/framework/templates/silverkite_template.py:440
Method
__init__
( self, constants: SimpleSilverkiteTemplateConstants = SimpleSilverkiteTemplateConstan
greykite/framework/templates/simple_silverkite_template.py:602
Method
__init__
( self, estimator: BaseForecastEstimator = AutoArimaEstimator())
greykite/framework/templates/auto_arima_template.py:130
Method
__init__
( self, model_template_enum: Type[Enum] = ModelTemplateEnum, default_model
greykite/framework/templates/forecaster.py:72
Method
__init__
( self, estimator: BaseForecastEstimator = LagBasedEstimator())
greykite/framework/templates/lag_based_template.py:53
Method
__init__
(self, estimator: BaseForecastEstimator)
greykite/framework/templates/base_template.py:69
Method
__init__
Attributes are the parameters and return value of `greykite.framework.templates.template_interface.TemplateInterface.apply_template_for_pipeli
greykite/framework/templates/template_interface.py:43
Method
__init__
The init function. The estimator parameters in init is just for compatibility. It does not affect the results.
greykite/framework/templates/multistage_forecast_template.py:51
Method
__init__
( self, estimator: Optional[BaseForecastEstimator] = None)
greykite/framework/templates/prophet_template.py:214
Method
__init__
(self)
greykite/framework/benchmark/data_loader_ts.py:36
Method
__init__
( self, df: pd.DataFrame, configs: Dict[str, ForecastConfig],
greykite/framework/benchmark/benchmark_class.py:93
Method
__init__
(self)
greykite/framework/input/univariate_time_series.py:110
Method
__init__
Initializes attributes of RollingTimeSeriesSplit Parameters ---------- forecast_horizon : `int` How many periods
greykite/sklearn/cross_validation.py:86
Method
__init__
(self, score_func, sign, kwargs)
greykite/sklearn/sklearn_scorer.py:53
Method
__init__
( self, silverkite: SimpleSilverkiteForecast = SimpleSilverkiteForecast(),
greykite/sklearn/estimator/simple_silverkite_estimator.py:100
Method
__init__
( self, score_func=mean_squared_error, coverage=0.80, # to specify interv
greykite/sklearn/estimator/prophet_estimator.py:128
Method
__init__
Instantiates the class. Parameters ---------- model_configs : `list` [MultistageForecastModelConfig] A list of
greykite/sklearn/estimator/multistage_forecast_estimator.py:163
Method
__init__
init function.
greykite/sklearn/estimator/one_by_one_estimator.py:167
Method
__init__
( self, silverkite: SilverkiteForecast = SilverkiteForecast(), score_func=
greykite/sklearn/estimator/silverkite_estimator.py:100
Method
__init__
( self, score_func=mean_squared_error, coverage=None, null_mod
greykite/sklearn/estimator/lag_based_estimator.py:118
Method
__init__
( self, # Null model parameters score_func: callable = mean_squared_error,
greykite/sklearn/estimator/auto_arima_estimator.py:71
Method
__init__
Initializes attributes common to every BaseForecastEstimator Subclasses must also have these parameters. Every subclass must call:
greykite/sklearn/estimator/base_forecast_estimator.py:83
Method
__init__
(self, strategy="mean", constant=None, quantile=None, score_func=mean_squared_error)
greykite/sklearn/estimator/null_model.py:89
Method
__init__
( self, silverkite: SilverkiteForecast = SilverkiteForecast(), score_func:
greykite/sklearn/estimator/base_silverkite_estimator.py:161
Method
__init__
( self, method: str = "z_score", score_type: str = "difference",
greykite/sklearn/transform/difference_based_outlier_transformer.py:101
Method
__init__
(self, transformer_list, n_jobs=None, transformer_weights=None, verbose=False)
greykite/sklearn/transform/pandas_feature_union.py:70
Method
__init__
(self, include: Union[str, List[str]] = None, exclude: Union[str, List[str]] = None)
greykite/sklearn/transform/dtype_column_selector.py:44
Method
__init__
(self, drop_degenerate=False)
greykite/sklearn/transform/drop_degenerate_transformer.py:47
Method
__init__
(self, z_cutoff=None, use_fit_baseline=False)
greykite/sklearn/transform/zscore_outlier_transformer.py:57
Method
__init__
(self, column_names)
greykite/sklearn/transform/column_selector.py:33
Method
__init__
( self, normalize_algorithm=None, normalize_params=None)
greykite/sklearn/transform/normalize_transformer.py:76
Method
__init__
( self, max_frac=0.10, impute_algorithm=None, impute_params=No
greykite/sklearn/transform/null_transformer.py:103
Method
__init__
(self, time_col: str = TIME_COL)
greykite/sklearn/transform/build_timeseries_features_transformer.py:46
Method
__init__
( self, uncertainty_dict: Dict[str, any], coverage: Optional[float] = None
greykite/sklearn/uncertainty/quantile_regression_uncertainty_model.py:130
Method
__init__
( self, uncertainty_dict: Dict[str, any], **kwargs)
greykite/sklearn/uncertainty/base_uncertainty_model.py:66
Method
__init__
( self, uncertainty_dict: Dict[str, any], coverage: Optional[float] = None
greykite/sklearn/uncertainty/simple_conditional_residuals_model.py:82
Method
__init__
Initializes an instance of the GreykitePickler class.
greykite/detection/common/pickler.py:75
Method
__init__
( self, value_cols, pred_cols, is_anomaly_col=None,
greykite/detection/detector/ape_based.py:65
Method
__init__
( self, reward_func, min_unpenalized=float("-inf"), max_unpena
greykite/detection/detector/reward.py:106
Method
__init__
( self, reward=None, param_iterable=None)
greykite/detection/detector/optimizer.py:121
Method
__init__
( self, reward=None, anomaly_percent_dict=None, param_iterable
greykite/detection/detector/detector.py:220
Method
__init__
Initializes the GreykiteDetector class.
greykite/detection/detector/greykite.py:125
Method
__init__
( self, value_cols=None, pred_cols=None, is_anomaly_col=None,
greykite/detection/detector/forecast_based.py:82
Method
__init__
( self, value_cols=None, pred_cols=None, is_anomaly_col=None,
greykite/detection/detector/best_forecast.py:69
Method
__init__
(self, a)
greykite/tests/framework/templates/test_pickle_utils.py:69
Method
__init__
(self)
greykite/tests/framework/templates/test_base_template.py:50
Method
__init__
(self)
greykite/tests/framework/templates/test_template_interface.py:10
Method
__init__
(self, score_func=mean_squared_error, coverage=0.95, null_model_params=None)
greykite/tests/sklearn/estimator/test_base_forecast_estimator.py:68
Method
__init__
(self, a)
greykite/tests/detection/common/test_pickler.py:149
Method
__init__
(self, a, b)
greykite/tests/detection/common/test_pickler.py:154
Method
__init__
( self, value_col, is_anomaly_col=None, reward=None,
greykite/tests/detection/detector/test_detector.py:138
Method
__init__
(self)
greykite/common/data_loader.py:41
Method
__init__
See class attributes for details on parameters / attributes.
greykite/common/features/outlier.py:533
Method
__init__
See class docstring for details on parameters / attributes. Note that in this case, the default of `trim_percent` is None, rather than
greykite/common/features/outlier.py:692
Method
__init__
( self, constants: SilverkiteConstant = default_silverkite_constant)
greykite/algo/forecast/silverkite/forecast_simple_silverkite.py:64
Method
__init__
( self, constants: SilverkiteSeasonalityEnumMixin = default_silverkite_constant)
greykite/algo/forecast/silverkite/forecast_silverkite.py:80
Method
__init__
(self)
greykite/algo/changepoint/adalasso/changepoint_detector.py:120
Method
__init__
(self)
greykite/algo/changepoint/shift_detection/shift_detector.py:158
Method
__init__
(self)
greykite/algo/common/seasonality_inferrer.py:165
Method
__init__
(self)
greykite/algo/common/holiday_inferrer.py:146
Method
__init__
Initializes instance.
greykite/algo/common/partial_regularize_regression.py:97
Method
__init__
Initializes instance.
greykite/algo/common/partial_regularize_regression.py:333
Method
__init__
(self, sample_size, bootstrap_size, num_bootstrap)
greykite/algo/common/model_summary_utils.py:651
← previous
next →
701–800 of 2,034, ranked by callers