The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
[SOLVED] Logging regression coefficients
Hi,
I have a loop that is running linear regressions for all iterations of a specific attribute. Each of the iterations delivers a new linear model. I am interested in extracting and logging the coefficients of each iterated regression model, but I haven't found a way to do this.
Any ideas?
Thanks!!
I have a loop that is running linear regressions for all iterations of a specific attribute. Each of the iterations delivers a new linear model. I am interested in extracting and logging the coefficients of each iterated regression model, but I haven't found a way to do this.
Any ideas?
Thanks!!
Tagged:
0
Answers
~Martin
Dortmund, Germany
I tried exporting as a formula, apparently linear regression isn't setup for formula generation yet.
I also tried the reporting extension also, but the **** in the Code attribute stops this table exporting.
So the only solution I found was exporting the linear model to disk using Write Model and then using the Read XML operator to translate the model back into a data table.
I put this together as a very quick example, but you'll want to do it a bit neater for a robust option. We I get time (probably in 6 months) I'll make an operator to do this.
Thanks