Cobweb has a different way of functioning than other classifiers. for ex. you can't addInstance(). Modify it to updateClusterer()