Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Doubt in Algorithm Tunning?

$
0
0

@bans_ankit wrote:

  1. 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

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles