I am starting out and working my way through machine learning algorithms. I am trying adaboost but finding that the processing time seems to be endless i.e. it is still running after 10-15 minutes. The code is below. Should it take this long? It is a small dataset (around 350 samples with 7 dependent variables).
If I try it with cross-validation I get the following error:
Error in boosting.cv(inflammatory ~ ., data = BF_train, boos = TRUE, mfinal = 10, :
v should be in [2, n]
Can anyone help? Thanks!