distance to the middle of the space
calculates the euclidic distance of a phi delta tuple to the middle of the phi delta space. This could be used for a rating of the features
dist_to_middle(phi, delta, ratio)
phi
: numeric value or vector of phidelta
: numeric value or vector of deltaratio
: is the ratio of positive and negative of the data. The default is 1the euclidic distance of the tuple to the middle
dist_to_middle(1,0,1) dist_to_middle(0.5,0.3,1)
rothe
Useful links