Skip to content

Commit

Permalink
org imports in text pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Nov 11, 2014
1 parent 6e7c1c7 commit 4306ed4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@

package org.apache.spark.examples.ml

import org.apache.spark.sql.{StringType, DataType, SQLContext}

import scala.beans.BeanInfo

import org.apache.spark.{SparkConf, SparkContext}
import org.apache.spark.ml.{Pipeline, UnaryTransformer}
import org.apache.spark.ml.classification.LogisticRegression
import org.apache.spark.ml.feature.HashingTF
import org.apache.spark.ml.param.ParamMap
import org.apache.spark.sql.{DataType, SQLContext, StringType}

@BeanInfo
case class LabeledDocument(id: Long, text: String, label: Double)
Expand Down

0 comments on commit 4306ed4

Please sign in to comment.