-
Notifications
You must be signed in to change notification settings - Fork 10
masDescribe
Deva Kumar edited this page Apr 7, 2020
·
2 revisions
Score using MAS
Returns: object
-
- returns object with input variables
Param | Type | Description |
---|---|---|
masControl | object |
object from masSetup |
modelName | string |
name of model to be executed |
stepName | string |
if not specified it will default to the first step |
Example
async function example (models, payload) {
await store.logon(payload);
let masControl = await restaflib.masSetup(store, models);
let inp = restaflib.masDescribe(masControl, models[0], 'score');
print.object(inp, 'describe for score model');
inp = inp.map((n) => {
n.value = someValue;
return n;
});
print.object(inp, 'updated input for score model');
let result = await restaflib.masRun (store, masControl, models[0], inp, 'score');
print.object(result, 'scoring result');
}
.... Under construction...
-
restaf
-
restaflib
-
Examples:
- Cas Server
- Compute Server
- Scoring with MAS
- Scoring with CAS
- Utility
-
CAS Related Functions
-
MAS Related Functions
-
Compute Server Related Functions
-
Reports Related Functions
-
Interactive CLI
-
Special Topic