- Is it correct to say that Algorithm tunning is performed only after algorithm is finalized?
But how to use tunning results to fit in the selected algorithm.
i know how to calculate “Alpha” while tunning but don’t know to fit in final algo any of :SVM / KNN etc…
Create model with default paramters
trainControl <- trainControl(method=“repeatedcv”, number=10, repeats=3)
seed <- 7
metric <- “Accuracy"
mtry <- sqrt(ncol(x))
tunegrid <- expand.grid(.mtry=mtry)
rfDefault <- train(Class~., data=dataset, method=“rf”, metric=metric, tuneGrid=tunegrid,
can please someone take a minute to mae me understand this?