spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felixcheung <>
Subject [GitHub] spark pull request #17571: [SPARK-20258][Doc][SparkR] Fix SparkR logistic re...
Date Fri, 07 Apr 2017 18:49:46 GMT
Github user felixcheung commented on a diff in the pull request:
    --- Diff: examples/src/main/r/ml/glm.R ---
    @@ -44,8 +44,9 @@ gaussianGLM2 <- glm(label ~ features, gaussianDF, family = "gaussian")
     # Fit a generalized linear model of family "binomial" with spark.glm
    -training2 <- read.df("data/mllib/sample_binary_classification_data.txt", source =
    -df_list2 <- randomSplit(training2, c(7,3), 2)
    +training2 <- read.df("/data/mllib/sample_multiclass_classification_data.txt", source
= "libsvm")
    --- End diff --
    actually, you might need to leave it as relative path, ie. not starting with `/`

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message