All Apps and Add-ons

problem with apply command: machine learning toolkit

csimonnet
New Member

Hi everyone,
I have a problem when I try to apply my machine learning model to a new dataset. Splunk send me this error: Error in 'apply' command: No valid fields to fit or apply model to.

But the feature variables are exactly the same in the training dataset and in the new dataset. Where does the problem come from?

Thank you for your answers.

0 Karma

aoliner_splunk
Splunk Employee
Splunk Employee

Thanks for the details below! Could you please show us the SPL for the search you are running at apply time?

0 Karma

csimonnet
New Member

the test set fields:

alt text

alt text

0 Karma

csimonnet
New Member

The training set fields:

alt text

the machine learning model:

alt text

0 Karma

aljohnson_splun
Splunk Employee
Splunk Employee

Can you post more about the algorithm and the feature variables?
Can you post the search itself?

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...