Skip to content
Prev 381572 / 398502 Next

error in train function

On 11/1/19 11:27 AM, javed khan wrote:
No library calls, so we will need to guess what packages are being assumed.
This appears to be calling the caret::train.recipe function. I cannot 
find a "lpSVM" method. Is it possible that this is simply a misspelling? 
Or have you failed to create a method with that name?


In the tutorial: 
https://topepo.github.io/caret/using-your-own-model-in-train.html the 
package author creates a list with that name in the section entitled 
"Model Components".

|lpSVM <-list(type = "Classification", library = "kernlab", loop = NULL) |

My further guess: you trying to run code fragments from some source 
without fully executing parts of a multi-step process?