while ((line = fin.readLine()) != null)
{
if (vectorType == AbstractTrainSpace.VECTOR_SPARSE)
{
Pair<String,SparseFeatureVector> sp = SparseTrainSpace.toInstance(line, hasWeight);
r = pModel.predictBest(sp.o2);
label = sp.o1;
}
else
{
StringInstance ss = StringTrainSpace.toInstance(line, hasWeight);