Algorithms
PACF
\\
PACF (partial autocorrelation function) gives the partial correlation between a sequence and its lagged values, controlling for the values of lags that are shorter than its own. See the StatsModels documentation at http://www.statsmodels.org/stable/generated/statsmodels.tsa.stattools.pacf.html for more information.
Parameters
- The
kparameter specifies the number of lags to return partial autocorrelation for. By defaultkis 40. - The
methodparameter specifies which method for the calculation to use. By defaultmethodis unbiased. - The
conf_intervalparameter specifies the confidence interval in percentage to return. By defaultconf_intervalis set to 95.
Syntax
fit PACF <field> [k=<int>] [method=<ywunbiased|ywmle|ols>] [conf_interval=<int>]
Example
The following example uses PACF (partial autocorrelation function) on a test set.
... | fit PACF logins k=20 conf_interval=90
Share this page
Share feedback about this pageShare feedback
Latest5.6.4
Ask ChatGPT about this pageAsk Claude about this page
Download Topic
ON THIS PAGE Permalink to this section
- Algorithms in the AI Toolkit - ML-SPL Quick Reference Guide
- Extend the algorithms you can use for your models
- Add algorithms through GitHub
- Anomaly Detection - DensityFunction
- Classifiers - AutoPrediction
- Clustering Algorithms - Birch
- Cross-validation - K-fold cross-validation
- Feature Extraction - FieldSelector
- Preprocessing (Prepare Data) - Imputer
- Regressors - AutoPrediction
- Time Series Analysis - ARIMA
- Utility Algorithms - ACF (autocorrelation function)
Source: /en/splunk-cloud-platform/apply-machine-learning/use-ai-toolkit/5.6.4/algorithms-and-scoring-metrics-in-the-ai-toolkit/algorithms-in-the-ai-toolkit (upstream Splunk AITK 5.6.4 docs)
Local availability Permalink to this section
- Local class:
PACF - Source file:
Splunk_ML_Toolkit/bin/algos/PACF.py(in-repo pathSplunk_ML_Toolkit/bin/algos/PACF.py) - algos.conf stanza:
[PACF] - Class bases:
ACF
Class docstring Permalink to this section
Compute partial autocorrelation function.
Source Permalink to this section
Adapted from the Splunk AI Toolkit 5.6.4 documentation at /en/splunk-cloud-platform/apply-machine-learning/use-ai-toolkit/5.6.4/algorithms-and-scoring-metrics-in-the-ai-toolkit/algorithms-in-the-ai-toolkit (section: preprocessor).