classification


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.

Related Links

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

Categories

HOME
airflow
skype-for-business
botframework
ftp
ssh
windows-server-2008
localhost
css-selectors
clip-path
rethinkdb
sahi
theory
ldap-query
cakephp-2.0
yui
github-flavored-markdown
reportlab
powerpivot
jquery-easyui
formulas
onclicklistener
functional-dependencies
priority-queue
orgchart
workflow-foundation
boosting
recreate
ocl
deferred
drawrect
snapkit
n1ql
incapsula
pyenv
maven-2
gstreamer-1.0
outlook-2010
client-server
rtsp
matrix-multiplication
aspose.pdf
compiled-query
ape-phylo
paperclip
superclass
pexpect
head
python-venv
logan-square
mef
anonymous-function
jsfl
ionic2-select
pyopenssl
evaluation
jcs
perldoc
jcifs
try-catch-finally
tsc
lightspeed
therubyracer
jspx
deck.js
normalisation
supervised-learning
archiva
nd4j
music-player
android-contentresolver
jain-sip
identifying
joomla3.3
pagecontrol
tokudb
pdcurses
system.diagnostics
genero
parseexception
maven-archetype
connection-timeout
novell
rda
winrun4j
sqldatasource
slimscroll
mongoid4
db2-connect
jython-2.5
mmo
libx264
mvcmailer
discussion-board
symfony-1.2
meego-harmattan
linq-to-mysql
glassfish-embedded
content-delivery-network
j++
stackless

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App