Skip to content

Commit b1f7b23

Browse files
committed
address review comments
1 parent de74906 commit b1f7b23

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

R/pkg/R/mllib.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -768,11 +768,11 @@ setMethod("predict", signature(object = "KMeansModel"),
768768
#' # multinomial logistic regression
769769
#'
770770
#' label <- c(0.0, 1.0, 2.0, 0.0, 0.0)
771-
#' features1 <- c(4.845940, 5.64480, 7.430381, 6.464263, 5.555667)
772-
#' features2 <- c(2.941319, 2.614812, 2.162451, 3.339474, 2.970987)
773-
#' features3 <- c(1.322733, 1.348044, 3.861237, 9.686976, 3.447130)
774-
#' features4 <- c(1.3246388, 0.5510444, 0.9225810, 1.2147881, 1.6020842)
775-
#' data <- as.data.frame(cbind(label, features1, features2, features3, features4))
771+
#' feature1 <- c(4.845940, 5.64480, 7.430381, 6.464263, 5.555667)
772+
#' feature2 <- c(2.941319, 2.614812, 2.162451, 3.339474, 2.970987)
773+
#' feature3 <- c(1.322733, 1.348044, 3.861237, 9.686976, 3.447130)
774+
#' feature4 <- c(1.3246388, 0.5510444, 0.9225810, 1.2147881, 1.6020842)
775+
#' data <- as.data.frame(cbind(label, feature1, feature2, feature3, feature4))
776776
#' df <- createDataFrame(data)
777777
#'
778778
#' # Note that summary of multinomial logistic regression is not implemented yet

0 commit comments

Comments
 (0)