Examples of idMeanOffsets()


Examples of org.grouplens.lenskit.util.IdMeanAccumulator.idMeanOffsets()

                    if (p != null) {
                        accum.put(p.getItemId(), p.getValue());
                    }
                }
                globalMean = accum.globalMean();
                itemMeans = accum.idMeanOffsets(damping);
            } finally {
                ratings.close();
            }
            logger.debug("computed means for {} items", itemMeans.size());
            logger.debug("global mean rating is {}", globalMean);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.