Package org.grouplens.lenskit.baseline

Examples of org.grouplens.lenskit.baseline.ScoreSource


        // FIXME Make this faster
        Long2ObjectMap<ScoreSource> chan = scores.getOrAddChannel(PREDICTION_SOURCE_SYMBOL);
        for (VectorEntry e: scores) {
            long key = e.getKey();
            ScoreSource source = ScoreSource.PRIMARY;
            if (fallbackKeys.contains(key)) {
                source = ScoreSource.BASELINE;
            }
            chan.put(key, source);
        }
View Full Code Here

TOP

Related Classes of org.grouplens.lenskit.baseline.ScoreSource

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.