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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...