Adding a custom algorithm to the Splunk Machine Learning Toolkit
Complete the following steps to add a custom algorithm to the Splunk Machine Learning Toolkit (MLTK):
- Register the custom algorithm in the MLTK app.
- Create a Python script file for the custom algorithm.
- Write a Python algorithm class.
- The algorithm class must implement methods which are outlined in the BaseAlgo class in
$SPLUNK_HOME/etc/apps/Splunk_ML_Toolkit/bin/base.py
.
- The algorithm class must implement methods which are outlined in the BaseAlgo class in
Coding knowledge, advanced Python experience, or development experience is an asset when adding custom algorithms.
Custom algorithm examples
You can view end-to-end examples for the following custom algorithms:
About the ML-SPL API | Register the custom algorithm in the MLTK app |
This documentation applies to the following versions of Splunk® Machine Learning Toolkit: 5.4.0, 5.4.1, 5.4.2, 5.5.0
Feedback submitted, thanks!