Github user wangmiao1981 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18496#discussion_r125702340
  
    --- Diff: R/pkg/R/mllib_tree.R ---
    @@ -374,6 +374,10 @@ setMethod("write.ml", signature(object = 
"GBTClassificationModel", path = "chara
     #'                     nodes. If TRUE, the algorithm will cache node IDs 
for each instance. Caching
     #'                     can speed up training of deeper trees. Users can 
set how often should the
     #'                     cache be checkpointed or disable it by setting 
checkpointInterval.
    +#' @param handleInvalid How to handle invalid data (unseen labels or NULL 
values) in classification model.
    +#'        Supported options: "skip" (filter out rows with invalid data),
    +#'                           "error" (throw an error), "keep" (put invalid 
data in a special additional
    --- End diff --
    
    Yes. `error` is the default behavior. The backend code has setDefault. I 
will reorder it and add the text in the document.


---
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]

Reply via email to