Skip to main content

applyModel()

applyModel(name, table, columnNamesMap?, showProgress?): Promise<DataFrame>

Defined in: src/ml.ts:20

Applies predictive model to the specified table. See example: https://public.datagrok.ai/js/samples/domains/data-science/predictive-model

Parameters

ParameterTypeDefault valueDescription
namestringundefinedModel namespace path.
tableDataFrameundefinedData table.
columnNamesMapobject{}Columns map.
showProgressbooleantrueMaximum number of results to return.

Returns

Promise<DataFrame>

Async