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!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...