Effacer les filtres
Effacer les filtres

Naive Bayes predict is very slow

1 vue (au cours des 30 derniers jours)
Rakshit Kothari
Rakshit Kothari le 11 Sep 2018
Commenté : Sachin Meena le 21 Sep 2018
NB takes 31.629455 seconds to classify a 1000 sample, 6 dimensional testing set. Why is it so rapid to train while the prediction time is so high? Is the prediction time dependent on the distribution of the data (which doesn't make sense to me, because once a distribution has been decided and support/width figured out, it's simply a forward pass through the formulae)?
  1 commentaire
Sachin Meena
Sachin Meena le 21 Sep 2018
could you please share your code?

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by