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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...