All Apps and Add-ons

What is the predicted Linear Regression equation used in the Machine Learning Toolkit?

Jooyoung
Path Finder

I'm using Splunk Machine Learning Toolkit app.

I got the predicted results and graph from Linear Regression on Splunk Machine Learning Toolkit but I want to know the first order equation of predicted graph. Can you please tell about this?

Thank you.

0 Karma

lihao420
New Member

After fitting a linear model, I used "| summary test_model", but got the following error
Error in 'summary' command: This command must be the first command of a search.

More info - I was able to collect predicted(values) from this test_model, but same as OP, would love to check the coefficient and R^2 if possible.

0 Karma

grana_splunk
Splunk Employee
Splunk Employee

Its working for me . For e.g.

On a search bar hit following command

| summary example_server_power

and it will return you coefficient and feature

0 Karma

grana_splunk
Splunk Employee
Splunk Employee

Hi,

I didn't get your question completely. Are you asking about general linear regression equation i.e y =mx+b ?

Just in-case you are interested in knowing the summary of your model you can try this command

| summary your_model_name

Please let us know if it solves your problem or write us back with your exact problem statement

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...