recode.target
[character(1)
]
Should target classes be recoded? Only for binary classification.
Possible are “no” (do nothing), “01”, and “-1+1”.
In the two latter cases the target vector is converted into a numeric vector.
The positive class is coded as +1 and the negative class either as 0 or -1.
Default is “no”.