Class JMSD

  • All Implemented Interfaces:
    Partible<User>

    public class JMSD
    extends UserSimilarityMetric
    Implements the following CF similarity metric: Bobadilla, J., Serradilla, F., & Bernal, J. (2010). A new collaborative filtering metric that improves the behavior of Recommender Systems, Knowledge-Based Systems, 23 (6), 520-528.
    • Constructor Detail

      • JMSD

        public JMSD()
    • Method Detail

      • similarity

        public double similarity​(User user,
                                 User otherUser)
        Description copied from class: UserSimilarityMetric
        This method must returns the similarity between two users.

        If two users do not have a similarity value, the method must return Double.NEGATIVE_INFINITY.

        The value returned by this method should be higher the greater the similarity between users.

        Specified by:
        similarity in class UserSimilarityMetric
        Parameters:
        user - A user
        otherUser - Other user
        Returns:
        Similarity between user and otherUser