The univariate level is inconsistent when another variable is present. #752
DescriptionWhen performing data preparation with Khiops, the level of variable depends on other variables being present. This is counter intuitive as the univariate data preparation should depend solely on the variable at hand. I attach an example to reproduce this (inconsistent-level.zip). Simply execute the The example consist in a two-column data table with a numerical variable Dictionary y_score
{
Numerical y_score;
Categorical y;
};which gives to Dictionary y_score_with_copy
{
Numerical y_score;
Categorical y;
Categorical y_copy = CopyC(y);
};which gives Questions/Ideas
Context |
Replies: 1 comment 1 reply
|
This behavior is intentional in the MODL approach to prevent overfitting. Let us illustrate this with an example. Suppose that, for a given sample size, the data preparation of each descriptive variable is very robust, with a very low probability To avoid such overfitting, the MODL approach incorporates a construction cost in addition to the data preparation cost. See https://khiops.org/learn/autofeature_engineering/, section Optimization Criterion. When no feature is constructed in a dataset with The approach summarized at https://khiops.org/learn/autofeature_engineering/ and detailed in the reference papers (https://khiops.org/references/) has since been improved by introducing the null model:
Finally, let's illustrate this with your sample:
|
This behavior is intentional in the MODL approach to prevent overfitting.
Let us illustrate this with an example. Suppose that, for a given sample size, the data preparation of each descriptive variable is very robust, with a very low probability$p=\frac{1}{1000}$ of obtaining a strictly positive $Level$ for a random descriptive variable, that is, the probability of wrongly identifying a random variable as informative.$1 - (1-\frac{1}{1000})^{1000}$ ~ $1 - \frac{1}{e}$ ~ 63%.
Then, if your dataset contains 1000 random descriptive variables, the probability of identifying at least one of them as informative approaches 1. More precisely, this probability is
To avoid such overfitting, the …