cobra
cobra copied to clipboard
compute_univariate_preselection throws an error when the thresholds are too low
When the thresholds are so low that none of the features are selected, it raises an error : min() arg cannot be empty
, which makes sense, but is not easy to trace back to the threshold being too low. Better to catch this and raise a specific error mentioning the thresholds.