unipy.stats.metrics module

Metric Functions.

unipy.stats.metrics.deviation(container, method='mean', if_abs=True)[source]

Deviation.

unipy.stats.metrics.vif(y, X)[source]

Variance inflation factor.

unipy.stats.metrics.mean_absolute_percentage_error(measure, predict, thresh=3.0)[source]

Mean Absolute Percentage Error. It is a percent of errors. It measures the prediction accuracy of a forecasting method in Statistics with the real mesured values and the predicted values, for example in trend estimation. If MAPE is 5, it means this prediction method potentially has 5% error. It cannot be used if there are zero values, because there would be a division by zero.

unipy.stats.metrics.average_absolute_deviation(measure, predict, thresh=2)[source]

Average Absolute Deviation. It is … It measures the prediction accuracy of a forecasting method in Statistics with the real mesured values and the predicted values, for example in trend estimation. If MAD is 5, it means this prediction method potentially has…

unipy.stats.metrics.median_absolute_deviation(measure, predict, thresh=2)[source]

Median Absolute Deviation. It is … It measures the prediction accuracy of a forecasting method in Statistics with the real mesured values and the predicted values, for example in trend estimation. If MAD is 5, it means this prediction method potentially has…

unipy.stats.metrics.calculate_interaction(rankTbl, pvTbl, target, ranknum=10)[source]

Feature interaction calculation.