Reporting

Why is FieldSelector is not working to select 3 most best features for my ML model?

POR160893
Builder

Hi,

I am in the feature selection stage of my ML assignment. The data I am working with is as follows:
index=nwstats sourcetype="traffic:delta"

I need to find the 3 "best" features to use before I test different ML models on the data. To do this, I am trying to use the FieldSelector in MLTK and then see te results with the summary.

POR160893_0-1650331172690.png

 



As you can see, I am getting an error ..... can you please help?


Many thanks,
Patrick

0 Karma

richgalloway
SplunkTrust
SplunkTrust

As the error message says, the summary command must be the first command in a query.  After a query that uses fit, run a separate query with summary to see the results.

---
If this reply helps you, Karma would be appreciated.

POR160893
Builder

Yes, but when I run the summary command alone on the model, this is what I receive:

POR160893_0-1650382271414.png

 



I gave you Karma btw :grinning_face:

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I saw that in another posting.  I don't know what causes that error.  Perhaps you could contact Splunk Support.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...