We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
prob
1 parent fc21c9e commit 61d8013Copy full SHA for 61d8013
R/svm_linear_data.R
@@ -123,27 +123,6 @@ set_pred(
123
)
124
125
126
-set_pred(
127
- model = "svm_linear",
128
- eng = "LiblineaR",
129
- mode = "classification",
130
- type = "prob",
131
- value = list(
132
- pre = function(x, object) {
133
- rlang::abort(
134
- paste0("The LiblineaR engine does not support class probabilities ",
135
- "for any `svm` models.")
136
- )
137
- },
138
- post = NULL,
139
- func = c(fun = "predict"),
140
- args =
141
- list(
142
- object = quote(object$fit),
143
- newx = expr(as.matrix(new_data))
144
145
146
-)
147
set_pred(
148
model = "svm_linear",
149
eng = "LiblineaR",
0 commit comments