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) |
SPL Official Website 👉 https://www.scudata.com
SPL Feedback and Help 👉 https://www.reddit.com/r/esProcSPL
SPL Learning Material 👉 https://c.scudata.com
SPL Source Code and Package 👉 https://github.com/SPLWare/esProc
Discord 👉 https://discord.gg/cFTcUNs7
Youtube 👉 https://www.youtube.com/@esProc_SPL