Skip to main content

applyModel()

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

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

Source

src/ml.ts:21