Package com.guokr.simbase.store

Examples of com.guokr.simbase.store.SparseVectorSet


        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!");
        }
    }
View Full Code Here

TOP

Related Classes of com.guokr.simbase.store.SparseVectorSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.