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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...