Commit 8d91e54b authored by Marco Chierici's avatar Marco Chierici
Browse files

Addressed FSTEPS for cases with <=10 input features

parent 66488ce3
......@@ -179,6 +179,9 @@ for percentage in feature_ranges:
k = np.ceil((nfeat * percentage) / 100).astype(np.int)
FSTEPS.append(k)
# address cases with <=10 features yielding duplicated entries
FSTEPS = np.unique(np.array(FSTEPS)).tolist()
# prepare output files
stabilityf = open(OUTFILE + "_stability.txt", 'w')
stability_w = csv.writer(stabilityf, delimiter='\t', lineterminator='\n')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment