int sparseFactor = subcontext.getInt("sparseFactor");
if (type.equals(DenseVectorSet.TYPE)) {
this.vectorSets.put(vkey, new DenseVectorSet(vkey, this.base, accumuFactor, sparseFactor));
} else if (type.equals(SparseVectorSet.TYPE)) {
this.vectorSets.put(vkey, new SparseVectorSet(vkey, this.base, accumuFactor, sparseFactor));
} else {
throw new IllegalArgumentException("Wrong type of vector set in config!");
}
}