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!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

January 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk + Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...