MATLAB Answers

How do we vary hyperparameters to find the optimal values?

2 views (last 30 days)
Yooya yooya
Yooya yooya on 10 Dec 2020
Answered: Sai Veeramachaneni on 16 Dec 2020
How do we vary hyperparameters to find the optimal values for naive bayes model?
% Train the classifier
Nb = NaiveBayes.fit(Xtrain,Ytrain,'Distribution',dist);

Answers (1)

Sai Veeramachaneni
Sai Veeramachaneni on 16 Dec 2020
Hi,
You can try parameters listed here to build the optimal model which is suitable for your dataset.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!