ym_importance()

Description:

List the degrees of importance for model building variables.

Syntax:

ym_importance(pd)

Note:

The function create a list of degrees of importance for model building variables.

Parameters:

pd

PD model object

Return value:

A table sequence

Example:

 

A

 

1

=ym_env()

Start Python service

2

=file("train.csv")

 

3

=ym_model(A1,A2)

Load data for model building

4

=ym_target(A3, "Survived")

Set target variable

5

=ym_build_model(A3,"tra.pcf")

Perform model builing operation to generate a model file

6

=ym_importance(A5)

Return a list of degrees of importance for model building variables

7

>ym_close(A1)

 

 

 

A

 

1

=ym_env()

Start Python service

2

=ym_predict("ttnkh.pcf")

Generate a model object based on the mode file ttnkh.pcf

3

=ym_importance(A2)

Return a list of degrees of importance for model building variables

4

>ym_close(A1)

Close Python service