zhangbo 1 gadu atpakaļ
vecāks
revīzija
ba8fd845c6

+ 2 - 2
src/main/scala/com/aliyun/odps/spark/examples/makedata/makedata_07_strData.scala

@@ -11,7 +11,7 @@ import java.util
 import scala.collection.JavaConversions._
 import com.alibaba.fastjson.JSON
 import examples.dataloader.OfflineVlogShareLRFeatureExtractorV2
-import examples.dataloader.OfflineVlogShareLRFeatureExtractor
+import examples.dataloader.OfflineVlogShareLRFeatureExtractorV1
 
 
 object makedata_07_strData {
@@ -68,7 +68,7 @@ object makedata_07_strData {
               feaMap.put(r, feaJson.getString(r))
             }
           })
-          val bytesFeatureExtractor = new OfflineVlogShareLRFeatureExtractor()
+          val bytesFeatureExtractor = new OfflineVlogShareLRFeatureExtractorV1()
           bytesFeatureExtractor.makeFeature4String(feaMap)
           val featureMap = bytesFeatureExtractor.featureMap
           label + "\t" + featureMap.entries().map(r => r.getValue.getIdentifier + ":1").mkString("\t")