All Apps and Add-ons

Getting out of the Machine Learning add-on basic

celianou
New Member

Hi everyone,

I'm doing machine learning on machine data and trying to predict whether my machine will be knocked out or not.

I have difficulties to use the Machine Learning Toolkit module since I try to predict rare events (knockouts). As a result my algorithms predict almost always OK and the accuracy is good, while for me it is very bad.

(1) I have tried to add new templates in the module configuration files but I can't do it. I don't know where to put my commands from scikit learn in the .py script (in init or fit, I don't really know the difference).

(2) I also wanted to add a preprocessing to allow data resample but it's the same as problem number 1.

(3) I would like to review the way the module cuts the train and the test and I don't know if it's possible. I don't want it to be random, I want my classes to be balanced in the train.

(4) I would like to do cross validation but it's the same problem I don't know if it's possible.

I have a lot of questions so if you could help me I would like to do it !
Have a nice day !

0 Karma

bangalorep
Communicator

Hello,

Have you also installed the Python for Scientific Learning App as well? You can add your custom algorithms there.
If you want to make any changes in teh algorithm, you can copy it and make the changes in the new file.

0 Karma

celianou
New Member

Hey, thank you for your answer. Yes I needed the Python add on to install the machine learning toolkit. I tried to make the changes in the algorithms but when I look at the scripts, I never know where to do my modifications. That's why I posted this question. For example, I wanna add "weight" to the KO versus the OK.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Introducing the 2026 - 2027 SplunkTrust cohort!

The goal of the SplunkTrust™ membership has historically been to acknowledge and recognize those who go above ...