/mltk_algo_automl

splunk ml toolkit cusomter algo of auto classifier and regressor

Primary LanguagePython

mltk_algo_automl

splunk ml toolkit cusomter algo of auto classifier and regressor

quick start

install the customer algo refer to https://github.com/splunk/mltk-algo-contrib

start dataplay container, dataplay3 is the backend that providing the access to autml algorithms base on auto-sklearn.

docker run -p 8001:8000 dataplay3:0.1-dev

SPL samples

run following spl for the auto ml algorithms

classification sample

| inputlookup iris.csv
| fit AutoClassifier "species" from "sepal_length", "sepal_width","petal_length", "petal_width" into "automodel1"
| inputlookup iris.csv | apply automodel1

regression sample

| inputlookup iris.csv
| fit AutoRegressor "sepal_length" from "sepal_width", "petal_length" into "automodel2"
| inputlookup server_power.csv | apply automodel2

issues

as the dependency requests rely on urllib3 and there is a known issue of open ssl on mac, you may need copy the python lib to replace the default one used by splunk which is under <SPLUNK_HOME>/etc/apps/Splunk_SA_Scientific_Python_darwin_x86_64/bin/darwin_x86_64/bin/python this will cause the algo failed to load refer to https://answers.splunk.com/answers/693496/splunk-machine-learning-toolkit-error-in-loading-c.html

the search will fail with auto-finalize under free lincese, an enterprise license is requried.