val instance = fea_id_list.map(fea => fea.toLong).sorted.map(fea => fea.toString + ":1").reduce(_ + " " + _)
label + "\t" + instance
生成形如:
1\t10:1 17:1
的样本
val instance = fea_id_list.map(fea => fea.toLong).sorted.map(fea => fea.toString + ":1").reduce(_ + " " + _)
label + "\t" + instance
生成形如:
1\t10:1 17:1
的样本