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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...