Partial Impl of random sample validator

Changes associated with validator logic(including additional API for
classifiers)