View source: R/fml_format_response.R
format_y | R Documentation |
Formats response variable based on the ml-type variable passed by the config file. For regression analyses the response variable will be explicitly transformed to type numeric. For Classification experiments the response variable will be explicitly transformed to a factor. Time-to-event models are to be implemented in the near future.
format_y(y, ml.type)
y |
vector of response varibale. |
ml.type |
type of experiment (chracater). |
a transformed version of the response variable y.
Kolja Becker
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.