Description:
List the degrees of importance for model building variables.
Syntax:
ym_importance(pd)
Note:
The external library function (See External Library Guide) creates a list of degrees of importance for model building variables.
Parameter:
pd |
PD model object |
Return value:
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) |
Perform model builing operation and return a model object |
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_load_pcf ("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) |
Release resources |