DPASF icon indicating copy to clipboard operation
DPASF copied to clipboard

Check Correc threshold for FCBF

Open elbaulp opened this issue 7 years ago • 0 comments

Something like this:

if thresh < 0:
        thresh = np.median(slist[-1, 0])
        print "Using minimum SU value as default threshold: {0}".format(thresh)
    elif thresh >= 1 or thresh > max(slist[:, 0]):
        print "No relevant features selected for given threshold."
        print "Please lower the threshold and try again."
        exit()

From FCBF.py

elbaulp avatar Sep 02 '18 11:09 elbaulp