Splunk® Machine Learning Toolkit


Download manual as PDF

Download topic as PDF

Add a custom algorithm to the Machine Learning Toolkit overview

To add a custom algorithm to the Splunk Machine Learning Toolkit, you must register the algorithm in the MLTK app, create a Python script file for the algorithm, and write a Python algorithm class. The algorithm class must implement certain methods which are outlined in the BaseAlgo class in $SPLUNK_HOME/etc/apps/Splunk_ML_Toolkit/bin/base.py.

For information about the algorithms packaged with the Splunk Machine Learning Toolkit, see Algorithms in the Machine Learning Toolkit in the User Guide.

Coding is required to add a custom algorithm to the Splunk Machine Learning Toolkit. Development experience is an asset.

Custom algorithm examples

You can view end-to-end examples for the following custom algorithms:

Last modified on 20 November, 2019
About the ML-SPL API
Register an algorithm in the Machine Learning Toolkit

This documentation applies to the following versions of Splunk® Machine Learning Toolkit: 4.4.0, 4.4.1, 4.4.2, 4.5.0, 5.0.0, 5.1.0, 5.2.0

Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters