I hava an ordinary data file containing labels and feature vectors. How can I use naivebayes to classify it? The example on the official website is used with text files. Can it be used on ordinary files?
I wonder if *trainnb* can be directly used on data files only if the format of data file is ok.
