ym_list()

Read(58) Label: model file list,

Description:

List model files under a specifid directory.

Syntax:

ym_list(dir)

Note:

The function get a list of model files under a directory specified by parameter dir.

Parameters:

dir

The directory holding model files for prediction; default is [sAppHome]/store/predict when it is absent

Return value:

A table sequence

Example:

 

A

 

1

=ym_env()

Initialize the environment

2

=ym_list("D:/Desktop/DemoData/allData")

List model files under the specified directory

3

=ym_list()

List model files under [sAppHome]/store/predict because parameter dir is absent

4

=ym_close(A1)

Close Python service