Register an algorithm
To register an algorithm, simply update the $SPLUNK_HOME/etc/apps/Splunk_ML_Toolkit/bin/algos/__init__.py
file with the name of the algorithm you want to add.
Then, create a python script file (.py file) for the algorithm in $SPLUNK_HOME/etc/apps/Splunk_ML_Toolkit/bin/algos
.
The name of the .py file and the name of the main class in the .py file must be the same as the name used in the __init__.py file.
Add an algorithm | Write an algorithm class |
This documentation applies to the following versions of Splunk® Machine Learning Toolkit: 2.3.0
Feedback submitted, thanks!