srowen commented on a change in pull request #20146: [SPARK-11215][ML] Add
multiple columns support to StringIndexer
URL: https://github.com/apache/spark/pull/20146#discussion_r247327672
##########
File path: R/pkg/tests/fulltests/test_mllib_regression.R
##########
@@ -102,10 +102,18 @@ test_that("spark.glm and predict", {
})
test_that("spark.glm summary", {
+ # prepare dataset
Review comment:
You are actually reproducing the whole iris data set here, and reproducing
it again in many examples. If the goal is just to change the type of one of the
cols, just coerce the type of the col in the dataframe?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]