Splunk Search

How to return Numerical Values from Model File?

TAE
Engager

I use the Splunk Machine Learning command:

| fit LinearRegression blah, blah into ModelName

I can generate a ModelName file.

Using the command 

| summary ModelName

I can generate a result set that has feature and coefficient fields.

How can I "extract" the numerical coefficients so that I can create a regression equation for future use?

Example: I'm trying to create the equation

y = c0 + c1 * Term1 + c2 * Term2

for a future modeling activity?

 

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

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

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...