Skip to content

Commit 6fc9dec

Browse files
committed
Update docs
1 parent e78adcd commit 6fc9dec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/pkg/R/mllib.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ setMethod("predict", signature(object = "KMeansModel"),
754754
#'
755755
#' # save fitted model to input path
756756
#' path <- "path/to/model"
757-
#' write.ml(blr_model, path)
757+
#' write.ml(model, path)
758758
#'
759759
#' # can also read back the saved model and predict
760760
#' # Note that summary deos not work on loaded model

mllib/src/main/scala/org/apache/spark/ml/r/LogisticRegressionWrapper.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,4 +180,4 @@ private[r] object LogisticRegressionWrapper
180180
new LogisticRegressionWrapper(pipeline, features, labels)
181181
}
182182
}
183-
}
183+
}

0 commit comments

Comments
 (0)