How do we vary hyperparameters to find the optimal values?

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)

Hi,
You can try parameters listed here to build the optimal model which is suitable for your dataset.

Asked:

on 10 Dec 2020

Answered:

on 16 Dec 2020

Community Treasure Hunt

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

Start Hunting!