Exception in Tkinter callbackTraceback most recent call last File CUserszgrlanaconda3libtkinter__init__py line 1892 in __call__ return selffuncargs File CUserszgrlAppDataLocalTempipykernel_154482
This error occurs when the MultinomialNB instance has not been fitted with appropriate arguments before trying to use it for prediction. The 'fit' method needs to be called before the 'predict' method to train the model on the given data.
原文地址: https://www.cveoy.top/t/topic/g01Z 著作权归作者所有。请勿转载和采集!