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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...