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);

Réponses (1)

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

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by