* set timestamp differentiation interval to a couple of years
This commit is contained in:
parent
f9df1098ab
commit
cb5082c933
|
@ -408,7 +408,7 @@ public enum EpisodeMetrics implements SimilarityMetric {
|
||||||
public float getSimilarity(Object o1, Object o2) {
|
public float getSimilarity(Object o1, Object o2) {
|
||||||
// adjust differentiation accuracy to about a year
|
// adjust differentiation accuracy to about a year
|
||||||
float f = super.getSimilarity(o1, o2);
|
float f = super.getSimilarity(o1, o2);
|
||||||
return f >= 0.9 ? 1 : f >= 0 ? 0 : -1;
|
return f >= 0.8 ? 1 : f >= 0 ? 0 : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue