spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felixcheung <...@git.apache.org>
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:

    https://github.com/apache/spark/pull/17571#discussion_r110457459
  
    --- Diff: examples/src/main/r/ml/glm.R ---
    @@ -44,8 +44,9 @@ gaussianGLM2 <- glm(label ~ features, gaussianDF, family = "gaussian")
     summary(gaussianGLM2)
     
     # Fit a generalized linear model of family "binomial" with spark.glm
    -training2 <- read.df("data/mllib/sample_binary_classification_data.txt", source =
"libsvm")
    -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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message