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

Criteria to classify retail customers as churn Y or N
How to quantify similarity of tree models? (XGB, Random Forest, Gradient Boosting, etc.)
Logistic Regression(Classification Technique) on Time-dependent Predictors/variables Data
High Relative absolute error and Root relative squared error in classification
voting with average of probabilities in weka
Weka : how to use cross validation in code
Decision Tree relevent classification for this task?
Accuracy of a naive bayes classifier
Weka library java: how to get the prospect of a classification?
Multilabel Text Classification NLTK
Loss function for class imbalanced binary classifier in Tensor flow
can we use GMDH for two or three class classiication
How to normalize close range data?
Query about NaiveBayes Classifier
Suggested unsupervised feature selection / extraction method for 2 class classification?
WEKA - Classification - Training and Test Set

Categories

HOME
ssms
msbuild
intellij-idea
typo3
wifi
windows-server-2008
spotfire
hiveql
richtextbox
symfony-3.2
collision-detection
scapy
vsixmanifest
box-api
jpql
distinct
chef-recipe
android-notifications
web-testing
aiml
autologin
url-parameters
descriptor
xna
klipfolio
ng-tags-input
gsuite
rollupjs
mongoose-im
osgi-bundle
hierarchy
ds-5
schedule
loopback
contextmenustrip
rtos
cache-control
mongoid5
form-fields
matrix-multiplication
jibx
jvisualvm
test-kitchen
paperclip
result
togglebutton
jenkins-2
hierarchical-clustering
opos
beanshell
openidm
visualizer
aot
senti-wordnet
overhead
zedgraph
robotc
lattice
stringbuilder
alfred
eclipse-mars
x12
clique
code-translation
dcast
askbot
wonderware
matlab-engine
event-tracking
jain-sip
tokudb
photogrammetry
skview
parseexception
maven-archetype
nexusdb
crystal-reports-7
dojox.grid
drools-guvnor
fxmlloader
grunt-contrib-connect
register-allocation
step
django-tests
visual-studio-setup-proje
facebook-java-api
nvcc
carrier
nop
facebook-likebox
nokogiri
qgraphicsscene
extensibility
forward-declaration
backbone-views
mysql2
system.transactions
report-viewer2010
custom-cursor
virtual-printer
meego-harmattan
javah
onunload
viewdata
nyromodal
web-search
high-load

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