Added capability to set feature threshold to control generality of model