Splunk® Machine Learning Toolkit

ML-SPL API Guide

This documentation does not apply to the most recent version of Splunk® Machine Learning Toolkit. For documentation on the most recent version, go to the latest release.

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.

Last modified on 24 May, 2017
Overview   Write an algorithm class

This documentation applies to the following versions of Splunk® Machine Learning Toolkit: 2.2.0, 2.2.1


Was this topic useful?







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