View source: R/classification.R
| detect_task | R Documentation |
Internal helper for detecting whether the response corresponds to a regression or classification task.
detect_task(y, task = "auto")
y |
Response vector. |
task |
Character value. One of |
A character value: "regression" or "classification".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.