Commit a42dcdb4ec3caea37917687a5af010aa35b4933b
1 parent
831ea5f937
Exists in
master
param change in editor score
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
app/com/piki_ds/ver1/EditorScore.scala
View file @
a42dcdb
... | ... | @@ -161,7 +161,7 @@ |
161 | 161 | */ |
162 | 162 | val finalScore = ePopularity.map(x=>{ |
163 | 163 | (x._1._1,x._2) |
164 | - }).leftOuterJoin(performance).map(x=>(x._1,0.15*x._2._1+0.80*x._2._2.getOrElse(0.2D))).filter(x=>x._1.nonEmpty) | |
164 | + }).leftOuterJoin(performance).map(x=>(x._1,0.15*x._2._1+0.85*x._2._2.getOrElse(0.2D))).filter(x=>x._1.nonEmpty) | |
165 | 165 | |
166 | 166 | val formatOutput: RDD[(String, Long)] = finalScore.map(x=>(x._1,(x._2*1000).toLong)) |
167 | 167 |