All Apps and Add-ons

Customize TFIDF Stop Words

ericchaucl
Path Finder

I'm now trying to use the TFIDF algorithm and use the parameter "stop_words=english".

Where are the stop_words defined and how can I customize it? Thanks!

0 Karma
1 Solution

ericchaucl
Path Finder

Thanks for the advise. Finally I can find it!

It's in the path:
$SPLUNK HOME\etc\apps\Splunk_SA_Scientific_Python_windows_x86_64\bin\windows_x86_64\Lib\site-packages\sklearn\feature_extraction\stop_words.py

View solution in original post

0 Karma

ericchaucl
Path Finder

Thanks for the advise. Finally I can find it!

It's in the path:
$SPLUNK HOME\etc\apps\Splunk_SA_Scientific_Python_windows_x86_64\bin\windows_x86_64\Lib\site-packages\sklearn\feature_extraction\stop_words.py

0 Karma

parkz
Explorer

Is there a similar file path for Linux Splunk app?

0 Karma

cmerriman
Super Champion

If you go through the splunk docs for the algoriths, they bring you to the scikit-learn that houses the documentation. if you go through that enough, you can land on this page. https://github.com/scikit-learn/scikit-learn/blob/ef5cb84a805efbe4bb06516670a9b8c690992bd7/sklearn/f...

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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