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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

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 ...