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 😀

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!

What’s New in Splunk Enterprise 9.4: Tools for Digital Resilience

What’s New in Splunk Enterprise 9.4: Tools for Digital ResilienceTune in to What’s New in Splunk Enterprise ...

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...