@Override public void resetLearning(){
  this.instancesSeen=0L;
  this.classInstances=new HashMap<>();
  this.classPrototypes=new HashMap<>();
  this.attributeObservers=new HashMap<>();
}

@ Override public void resetLearning ( ) { this . instancesSeen = 0L ; this . classInstances = new HashMap < > ( ) ; this . classPrototypes = new HashMap < > ( ) ; this . attributeObservers = new HashMap < > ( ) ; }
resets this classifier . it must be similar to starting a new classifier from scratch .
