@bans_ankit wrote:
- 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"
set.seed(seed)
mtry <- sqrt(ncol(x))
tunegrid <- expand.grid(.mtry=mtry)
rfDefault <- train(Class~., data=dataset, method="rf", metric=metric, tuneGrid=tunegrid,
trControl=trainControl)
print(rfDefault)
..."can please someone take a minute to mae me understand this?
Best Regards,
Ankit
Posts: 1
Participants: 1