|
@@ -138,7 +138,7 @@ object pred_recsys_61_xgb_nor_hdfsfile_20241209 {
|
|
|
(label, prediction, prediction, logKey)
|
|
|
}
|
|
|
}
|
|
|
- ).toDF("label", "prediction", "clipPrediction")
|
|
|
+ ).toDF("label", "prediction", "clipPrediction", "logKey")
|
|
|
}
|
|
|
|
|
|
def calMAPE(evalRdd: RDD[Row]): Double = {
|