ym_build_model()

Read(97) Label: model building, model file,

Description:

Perform model building operation.

Syntax:

ym_build_model(md)

Note:

The function executes model building and returns a PD model object.

Parameters:

md

An MD model

Return value:

A PD model object

Example:

 

A

 

1

=ym_env()

Start Python service

2

=file("train.csv")

 

3

=ym_model(A1,A2)

Load necessary data for building the model

4

=ym_target(A3, "Survived")

Set Survived as the target variable

5

=ym_build_model(A3)

Perform model building operation and returns a model object

6

>ym_close(A1)

Close Python service