Skip to content

Commit

Permalink
review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mgaido91 committed Jan 24, 2018
1 parent ebc6d16 commit 2bc5cb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,9 @@ class BucketizerSuite extends SparkFunSuite with MLlibTestSparkContext with Defa
// the following should fail because not all the params are set
ParamsSuite.testExclusiveParams(new Bucketizer, df, ("inputCol", "feature1"),
("outputCol", "result1"))
ParamsSuite.testExclusiveParams(new Bucketizer, df,
("inputCols", Array("feature1", "feature2")),
("outputCols", Array("result1", "result2")))
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import java.io.{ByteArrayOutputStream, ObjectOutputStream}
import org.apache.spark.SparkFunSuite
import org.apache.spark.ml.{Estimator, Transformer}
import org.apache.spark.ml.linalg.{Vector, Vectors}
import org.apache.spark.ml.param.shared.{HasInputCol, HasInputCols, HasOutputCol, HasOutputCols}
import org.apache.spark.ml.util.MyParams
import org.apache.spark.sql.Dataset

Expand Down

0 comments on commit 2bc5cb4

Please sign in to comment.