All Apps and Add-ons

Is data standardization and scaling unnecessary with Splunk and the Machine Learning Toolkit?

takaakinakajima
Path Finder

I use Machine Learning Toolkit 2.0.0 with Splunk Enterprise 6.5, and found implementations of algorithms in
SPLUNK_HOME/etc/apps/Splunk_ML_Toolkit/bin/algos

Only SGDClassifier, SGDRegressor, and SpectralClustering algorithms,
data will be scaled with StandardScaler before calculation.
It seems that the other algorithms (e.g. LenearRegression) do not scale data.

Is scaling unnecessary with Splunk/Machine Learning Toolkit?
If required, how do we standardize data before calculation?

Scikit-learn notes "Standardization of datasets is a common requirement for many machine learning estimators".
http://scikit-learn.org/stable/modules/preprocessing.html

0 Karma
1 Solution

grana_splunk
Splunk Employee
Splunk Employee

Simply use StandardScaler, if you want to scale your data

For example: ,... | fit StandardScaler ... | fit LinearRegression ...

View solution in original post

grana_splunk
Splunk Employee
Splunk Employee

Simply use StandardScaler, if you want to scale your data

For example: ,... | fit StandardScaler ... | fit LinearRegression ...

takaakinakajima
Path Finder

Hi grana.

Thank you for your shrewd advice.
That's just the thing!!

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...