All Apps and Add-ons

Why is SGDClassifier not listening to configuration files (mlspl.conf)?

Kermit1007
Engager

Hi,

My classifier (SGDClassifier) is allowing only 100 distinct cat values. I followed the link Configure algorithm performance costs - Splunk Documentation and modified the file mlspl.conf as follows :

 

 

[SGDClassifier]
max_distinct_cat_values=2000
max_distinct_cat_values_for_classifiers=2000

 

 

However my splunk search is giving me the error :

Kermit1007_0-1659441152393.png

I had already change this value for another classifier (LinearSVC) and everything was fine, what did i miss here ? I just copied and pasted from it and change the Stanza name 

I'm using MLTK 5.3.1

Labels (3)
1 Solution

Kermit1007
Engager

Update :

I have found the culprit :

In apps/Splunk_ML_Toolkit/bin/algos/SGDClassifier.py

at line 78 AND 116 

Change line 

Kermit1007_0-1659948358703.png

to

Kermit1007_1-1659948383747.png

 (There is a missing 'S' in the config parameter)

I think this is a bug from splunk and woud like to report it to the MLTK Team do you know a way ?

View solution in original post

0 Karma

Kermit1007
Engager

Update :

I have found the culprit :

In apps/Splunk_ML_Toolkit/bin/algos/SGDClassifier.py

at line 78 AND 116 

Change line 

Kermit1007_0-1659948358703.png

to

Kermit1007_1-1659948383747.png

 (There is a missing 'S' in the config parameter)

I think this is a bug from splunk and woud like to report it to the MLTK Team do you know a way ?

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...