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
Custom algorithm examples
You can view end-to-end examples for the following custom algorithms: