* differentiate by airdate only into two groups

This commit is contained in:
Reinhard Pointner 2013-03-09 21:43:18 +00:00
parent 26bc859eda
commit 53568deca9
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ public enum EpisodeMetrics implements SimilarityMetric {
@Override
public float getSimilarity(Object o1, Object o2) {
// adjust differentiation accuracy to about a year
return (float) (floor(super.getSimilarity(o1, o2) * 40) / 40);
return super.getSimilarity(o1, o2) >= 0.8 ? 1 : 0;
}