org.codelibs.elasticsearch.taste.similarity.LogLikelihoodSimilarityFactory Maven / Gradle / Ivy
package org.codelibs.elasticsearch.taste.similarity;
public class LogLikelihoodSimilarityFactory extends
AbstractUserSimilarityFactory {
@Override
public T create() {
@SuppressWarnings("unchecked")
final T t = (T) new LogLikelihoodSimilarity(dataModel);
return t;
}
}