Adding threshold classifier

This pull request contains appropriate change to enable Threshold classifier