@@ -0,0 +1,458 @@
+package edu.neu.ccs.pyramid.classification;%0A%0Aimport edu.neu.ccs.pyramid.dataset.ClfDataSet;%0A%0Aimport java.io.File;%0Aimport java.io.IOException;%0A%0A/**%0A * Created by chengli on 10/4/14.%0A */%0Apublic interface ClassifierFactory %7B%0A    Classifier train(ClfDataSet dataSet, TrainConfig config);%0A    Classifier deserialize(File file) throws Exception;%0A    default Classifier deserialize(String file) throws Exception%7B%0A        return deserialize(new File(file));%0A    %7D%0A%7D%0A

add interface ClassifierFactory