All Apps and Add-ons

Where is the Kalman filter in the algos file?

rosho
Communicator

Hi

I want to see the python code of the Kalman filter.
But I cannot find it in the algos folder. I can see ARIMA, ACF, PACF but not Kalman.

Where is it?

0 Karma
1 Solution

niketn
Legend

@rosho the predict command in Splunk uses Kalman Filter. It does not support fit and apply.

If you check out the latest MLTK release it has Smart Forecasting based on State Space Forecasting algorithm which supports creation of model with fit and apply. You can check out a short video on Smart Forecasting in Machine Learning Toolkit by Splunk

Please have a look and confirm if one of them fits your needs.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

niketn
Legend

@rosho the predict command in Splunk uses Kalman Filter. It does not support fit and apply.

If you check out the latest MLTK release it has Smart Forecasting based on State Space Forecasting algorithm which supports creation of model with fit and apply. You can check out a short video on Smart Forecasting in Machine Learning Toolkit by Splunk

Please have a look and confirm if one of them fits your needs.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

rosho
Communicator

Does that mean that it cannot be modified to have other types of kalman filters (ex: Extended, unscented, Particle)?

0 Karma

niketn
Legend

@rosho AFAIK Kalman Filter built in Splunk is Linear. You can however, create your own implementation using MLTK Custom ML SPL API : https://docs.splunk.com/Documentation/MLApp/latest/API/Introduction

I would also recommend joining splunk-usergroups on slack and then post your queries in the #machinelearning channel. Documentation on joining Slack: https://docs.splunk.com/Documentation/Community/latest/community/Chat

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...

Splunk AppDynamics with Cisco Secure Application

Web applications unfortunately present a target rich environment for security vulnerabilities and attacks. ...