Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/18128#discussion_r122134992
--- Diff: R/pkg/R/mllib_classification.R ---
@@ -202,6 +202,20 @@ function(object, path, overwrite = FALSE) {
#' @param aggregationDepth The depth for treeAggregate (greater than or
equal to 2). If the dimensions of features
#' or the number of partitions are large, this
param could be adjusted to a larger size.
#' This is an expert parameter. Default value
should be good for most cases.
+#' @param lowerBoundsOnCoefficients The lower bounds on coefficients if
fitting under bound constrained optimization.
+#' The bound matrix must be compatible
with the shape (1, number of features) for binomial
+#' regression, or (number of classes,
number of features) for multinomial regression.
+#' It is a R matrix.
+#' @param upperBoundsOnCoefficients The upper bounds on coefficients if
fitting under bound constrained optimization.
+#' The bound matrix must be compatible
with the shape (1, number of features) for binomial
+#' regression, or (number of classes,
number of features) for multinomial regression.
+#' It is a R matrix.
+#' @param lowerBoundsOnIntercepts The lower bounds on intercepts if
fitting under bound constrained optimization.
+#' The bounds vector size must be equal
with 1 for binomial regression, or the number
--- End diff --
`size must be equal with 1` - should this be `size must be equal to 1`?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]