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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...