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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...