|
@@ -144,10 +144,12 @@ object makedata_02_writeredis {
|
|
""
|
|
""
|
|
}
|
|
}
|
|
if (i_title_len.nonEmpty){
|
|
if (i_title_len.nonEmpty){
|
|
- reqContext.featureMap.put("i_title_len", reqContext.bucketRatioFeature(i_title_len.toDouble))
|
|
|
|
|
|
+ val d = reqContext.bucketRatioFeature(i_title_len.toDouble)
|
|
|
|
+ reqContext.featureMap.put("i_title_len", d.asInstanceOf[Object])
|
|
}
|
|
}
|
|
if (i_days_since_upload.nonEmpty) {
|
|
if (i_days_since_upload.nonEmpty) {
|
|
- reqContext.featureMap.put("i_days_since_upload", reqContext.bucketRatioFeature(i_days_since_upload.toDouble))
|
|
|
|
|
|
+ val d = reqContext.bucketRatioFeature(i_days_since_upload.toDouble)
|
|
|
|
+ reqContext.featureMap.put("i_days_since_upload", d.asInstanceOf[Object])
|
|
}
|
|
}
|
|
//------修复完成---------
|
|
//------修复完成---------
|
|
|
|
|