Ratio

 

Ratio is the division of two variables, used for continuous variables.

Ratio is also a method of feature combination. Feature combination is a supplement to make up for the lack of linear model which can not express nonlinear properties, which is helpful to improve the expression ability of linear model.

Note: in the ratio calculation, the denominator variable cannot have 0.


A

1

=T("D://house_prices_train.csv")

2

=A1.derive(MSSubClass/LotFrontage)