Package | Description |
---|---|
es.upm.etsisi.cf4j.data |
This package contains data classes of CF4J.
|
es.upm.etsisi.cf4j.recommender.knn.userSimilarityMetric |
This package contains different implementations of user-to-user similarity metric used in the
user-to-user knn based collaborative filtering algorithm.
|
Modifier and Type | Class and Description |
---|---|
class |
TestUser
A TestUser extends an User given him or her the following properties:
Index in the DataModel array which stores test users.
|
Modifier and Type | Method and Description |
---|---|
User |
DataModel.getUser(int userIndex)
Gets an User by his/her index.
|
User[] |
DataModel.getUsers()
Gets the array of Users.
|
Modifier and Type | Method and Description |
---|---|
void |
UserSimilarityMetric.run(User user) |
double |
AdjustedCosine.similarity(User user,
User otherUser) |
double |
CJMSD.similarity(User user,
User otherUser) |
double |
Correlation.similarity(User user,
User otherUser) |
double |
CorrelationConstrained.similarity(User user,
User otherUser) |
double |
Cosine.similarity(User user,
User otherUser) |
double |
Jaccard.similarity(User user,
User otherUser) |
double |
JMSD.similarity(User user,
User otherUser) |
double |
MSD.similarity(User user,
User otherUser) |
double |
PIP.similarity(User user,
User otherUser) |
double |
Singularities.similarity(User user,
User otherUser) |
double |
SpearmanRank.similarity(User user,
User otherUser) |
abstract double |
UserSimilarityMetric.similarity(User user,
User otherUser)
This method must returns the similarity between two users.
|
Copyright © 2020. All rights reserved.