0

I want to suppress the message "Setting default kernel parameters", but none of the options discussed here are doing the job that is "echo=F", "warning=F", "message=F" or the use of "invisible".

enter image description here

enter image description here

What else can I do? The info-string really disturbs the layout of my slides, when I am doing the above commands in a k-fold cross-validation loop.

Community
  • 1
  • 1
CodingButStillAlive
  • 733
  • 2
  • 8
  • 22

1 Answers1

1

Here is my workaround:

ksvm(Class ~. data = dat.train.df, kernel = "vanilladot", kpar=list())

This suppresses the message.

J_F
  • 9,956
  • 2
  • 31
  • 55