ym_predict()

Read(47) Label: model file, model object,

Description:

Generate a model object based on a model file.

Syntax:

ym_predict(mdFile)

Note:

The function generates a model object based on a model file.

Parameters:

mdFile

A model file

Return value:

A PD model object

Example:

 

A

 

1

=ym_env()

Start Python service

2

=ym_predict("ttnkh.pcf")

Generate a model object based on mode file ttnkh.pcf

3

=ym_result(A2,"train_2.csv")

Perform prediction according to the model object and the prediction data files and return a able sequence coinsisting of prediction result

4

>ym_close(A1)

Close Python service