openest.models.features_interpreter module¶
Probability Features File
The probability features file has the following format:
dpc1,<p-header-1>,<p-header-2>,...
<x-value-1>,g_1(y | x_1),g_2(y | x_1),...
<x-value-2>,g_1(y | x_2),g_2(y | x_2),...
...
<p-header> headers can be any of the following, with the
corresponding values in their rows (<p-value-ij>).
mean: E y|x_ivar: E (y|x_i - E y|x_i)^2sdev: sqrt{E (y|x_i - E y|x_i)^2}skew: E ((y|x_i - E y|x_i) / sqrt{E (y|x_i - E y|x_i)^2})^3mode: max f(y | x_i)- numeric (0 - 1): F^{-1}(p_j|x_i)
The row headers (<x-value>) can be numeric, in which case a
continuous spline bridges them, or categorical strings.
Below is a sample features file:
dpc1,mean,var
treated,0,1
control,4,4