[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.
我肌萎缩性侧索硬化症o 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