on 2007 Feb 22 8:12 PM
Does anyone know how to use the linear regression action block? I don't see any documentation in the xMII helpfile.
Thanks,
Jeff
Request clarification before answering.
The Linear regression action block results in an IllumDocument with three columns, for example:
<Row>
<orderid>10704</orderid>
<unitprice>4.5</unitprice>
<pre><code>3.814032673322</code></pre>
</Row>
You have to "feed" the action block with another IllumDocument, in most cases probably a Query action block result. I mapped a query that returns OrderIDs and unitPrices. In the Linear action block, I mapped the OrderId as the XAxis value and UnitPrice as the YAxis value. (This probably does not make sense in a "real" situation). The Linear Regression calculations the "Predicted" column in the Output of the Linear Regression action block. You can also get slope and intercept information from the action block.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.