The Aster Scoring SDK function uses a different request schema from SQL-MapReduce function Single_Tree_Predict. As an example, the table for the SQL-MapReduce function looks like:
PID | ATTRIBUTE | ATTRVALUE |
---|---|---|
9 | RI | 1.51545 |
9 | Na | 14.14 |
9 | Mg | 0.00 |
... | ... | ... |
For the Aster Scoring SDK function, the request must be a flat data structure, as shown below for the same example:
PID | RI | Na | Mg | ... |
---|---|---|---|---|
9 | 1.51545 | 14.14 | 0.00 | ... |