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
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

March Community Office Hours Security Series Uncovered!

Hello Splunk Community! In March, Splunk Community Office Hours spotlighted our fabulous Splunk Threat ...

Stay Connected: Your Guide to April Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars in April. This post ...