matlab SVM returns NaN
here's my problem: I'm trying to classify some data with Support Vector Machine, specifically the MATLAB implementation fitcsvm. However, when I compute the prediction, some of the predictions' posterior probabilities are set to NaN. What does that mean? Here's the code % Training model = fitcsvm(trainX, trainY, 'KernelFunction', 'RBF', 'KernelScale', 'auto', 'Prior', 'empirical'); model = fitSVMPosterior(model, 'Leaveout', 'on'); % Prediction [~,scores] = predict(model, testX);
Most likely, testX contains NaNs. If testX contains an NaN for any variable used as an SVM term, the posterior probability will also be NaN.
weigh group of features as one with Weka
How to specify strings in Weka file?
Evaluating Test set using Weka
Need help interpret weka results
Different results in Weka GUI and Weka via Java code
imbalanced data classification with boosting algorithms
How to create ARFF file for 2D data points?
How to use weighted vote for classification using weka
Convert Web page to ARFF File for Weka classification
Liblinear bias greater than 2 improving accuracy?
Weka: Does training helps if test run is followed by training run?
Difference between logistic regression with binary output and classification
Weka - How to find input format for classifiers
How to incorporate Weka Naive Bayes model into Java Code
RapidMiner: Classifying new examples without re-running the existing trained model
How to check whether data is being overfiited for that model in weka