About the ML-SPL API

The AI Toolkit ships with more than 40 algorithms including Birch, Lasso, DensityFunction, and RandomForestClassifier. If you want to use a custom algorithm in the toolkit, do so using the Machine Learning Extensibility API (ML-SPL API).

To learn more about the algorithms packaged with the toolkit, see Algorithms in the AI Toolkit in the User Guide.

You can also extend the toolkit with over 300 open source Python algorithms from scikit-learn, pandas, statsmodel, numpy, and scipy libraries. These open source algorithms are available for the toolkit through the Python for Scientific Computing (PSC) add-on.

Note: The PSC add-on is a requirement for the AI Toolkit app.

To add a custom algorithm to the AI Toolkit, you must write a Python class and register it to the AI Toolkit app. Coding knowledge, advanced Python experience, or development experience is an asset when adding custom algorithms. You can also choose to package your custom algorithm as a separate app and share it on Splunkbase so it can be used by other Splunk platform users.

Add algorithms using GitHub

On-premises users can use GitHub to add more algorithms to the AI Toolkit. See the MLTK GitHub repo.

Note: The AI Toolkit and PSC add-on must be installed in order for GitHub to work in your Splunk platform environment.

You can share and reuse algorithms in the Splunk Community for the AI Toolkit on GitHub. In the community you can also learn about new machine learning algorithms from the Splunk open source community, and help fellow users of the AI Toolkit.

Splunk Cloud Platform customers can also use GitHub to add more algorithms. The Splunk GitHub for Machine Learning app provides access to custom algorithms and is based on the open source repository for the AI Toolkit .

Note: Splunk Cloud Platform customers must create a support ticket to have the app installed.