Jump to content

Get() Regression function does not work in formulas on existing regression model


Recommended Posts

If you use a formula to create a regression model, such as:

$target.regressionModelOLS($training,
    false,
    $signal1, $signal2)

you cannot access model statistics and coefficients, like these:

298794437_Screenshot2023-05-20at11_51_50PM.thumb.jpg.21377445bb217e3184815cd469f54494.jpg

Therefore, to get this data you need to use the Get() function.  However, it does not work on an existing model.  It only seems to work if the model is created in the same formula as the Get() function

Is there any work around?  I was hoping DataLab might help, but if I search the prediction tag for all properties I get 23 columns, none of which are coefficients.

1964657804_seeq_get_2023-05-20at11_56_53PM.thumb.jpg.4782e5c648296e0020ca6cc540f0a048.jpg

seeq_get_2023-05-20 at 11.35.32 PM.jpg

seeq_get_2023-05-20 at 11.40.59 PM.jpg

Link to comment
Share on other sites

  • Administrators

Pat,

The only workaround I can think of is to return them with the output item.  Here is a link to a post that returns the properties as part of condition. A similar thing could be done for a one time prediction by constructing a string scalar as the output and using it to build the model. Then you would only need to refer to the string scaler to get all your properties.

 

Hope this helps.

Also I will check if there are any feature requests for this and add you to them. 

Teddy

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...