adding user input to randomly select a fraction of the features to consider to further grouping