Skip to content

Commit

Permalink
remove leftover code in Transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Nov 11, 2014
1 parent 494b632 commit 51f1c06
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mllib/src/main/scala/org/apache/spark/ml/Transformer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,6 @@ abstract class UnaryTransformer[IN, OUT: TypeTag, T <: UnaryTransformer[IN, OUT,

override def transform(dataset: SchemaRDD, paramMap: ParamMap): SchemaRDD = {
transform(dataset.schema, paramMap, logging = true)
val inputSchema = dataset.schema
logDebug(s"Input schema: ${inputSchema.json}")
val outputSchema = transform(dataset.schema, paramMap)
logDebug(s"Expected output schema: ${outputSchema.json}")
import dataset.sqlContext._
val map = this.paramMap ++ paramMap
val udf = this.createTransformFunc(map)
Expand Down

0 comments on commit 51f1c06

Please sign in to comment.