Commit 7b0188cb authored by 刘基明's avatar 刘基明

热度计算调参

parent c5bcd286
......@@ -53,7 +53,7 @@ public class ThemeAnalysDO {
double i = 1;//初试权重
double t = Double.valueOf(minuteTillNow) / 60;
double g = 0.1;//时间系数
double rank = (w + i) / Math.pow(t + 2, g);
double rank = (w + i) / Math.pow(t + 1, g);
return rank;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment