Beantwortet
Problem reconstructing retained principal components
PCA is applied to centered data. Observe that |mean(score)| is close to a vector of zeros. Rotating the scores back to the origi...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Linear Discriminant analysis WITH variable selection
Here is an example in the doc: <http://www.mathworks.com/help/stats/discriminant-analysis.html#btaf5dv> It shows how to use the ...

mehr als 12 Jahre vor | 0

Beantwortet
Leave-One-Out with ROC
Here is an example for cross-validating a discriminant model: <http://www.mathworks.com/help/stats/discriminant-analysis.html#bs...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
SVM - SVMTRAIN method SMO (error: No convergence achieved within maximum number of iterations)
You can increase the maximal number of iterations. See 'options' in the doc or help for |svmtrain|.

mehr als 12 Jahre vor | 0

Beantwortet
Perfcurve with multiple negative classes
By default, the Y criterion is TPR computed for all possible score thresholds. The score thresholds are distinct values in the 2...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
What decision tree learning algorithm does MATLAB use to create decision trees?
|classregtree| uses the CART algorithm described in the Classification and Regression Trees book by Breiman et al.

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
How to use option "stream" of Kmeans
Does this help? help parallelstats

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
How to build a correct spline kernel for svm
Check out this thread and let us know if it helps: <http://www.mathworks.com/matlabcentral/answers/57232-how-to-use-svmtrain-wit...

fast 13 Jahre vor | 0

Beantwortet
Selecting important features from a very large pool
You may find these two posts useful: <http://www.mathworks.com/matlabcentral/answers/48633-how-to-find-the-important-features...

fast 13 Jahre vor | 0

Beantwortet
Error in kmeans of Matlab R2013 ?
Type which kmeans which randsample to verify that you are using the functions from the official MATLAB installation. ...

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
problem when performing PCA on large dataset
If you can load the dataset into memory, the rest should be easy. Here is how you compute coefficients and scores for wide data ...

fast 13 Jahre vor | 0

Beantwortet
How can I define the cost matrix using Classify function for discriminant analysis classification in MATLAB R2009a?
One option is to upgrade. In 11b, we introduced ClassificationDiscriminant which accepts the cost option. Otherwise take a lo...

fast 13 Jahre vor | 0

Beantwortet
Create an 'other' category for classregtree?
It is not entirely clear from your post if you are talking about a categorical predictor (one of the variables in X) or the cate...

fast 13 Jahre vor | 0

Beantwortet
ClassificationDiscriminant - How to exclude a predictor for only one group level?
Delete the corresponding column in the matrix of predictors you pass to ClassificationDiscriminant.fit: X(:,1) = [];

etwa 13 Jahre vor | 1

| akzeptiert

Beantwortet
How to do a ROC analysis using Matlab build-in SVM (Not LibSVM)
Well, there is an answer here <http://www.mathworks.com/matlabcentral/answers/64475-does-anybody-have-expertise-with-matlab-svm...

etwa 13 Jahre vor | 7

| akzeptiert

Beantwortet
KNN classifier with ROC Analysis
For 3 neighbors, the posterior probability has at most 4 distinct values, namely (0:3)/3. Likely less for the Fisher iris data b...

etwa 13 Jahre vor | 1

| akzeptiert

Beantwortet
What exactly the ROC curve can tell us or can be inferred?
1. You can report anything you like as long as you report an estimate obtained by cross-validation or using an independent test ...

etwa 13 Jahre vor | 2

| akzeptiert

Beantwortet
What exactly the ROC curve can tell us or can be inferred?
1-2. You can use either accuracy. The accuracy obtained by LDA is for assigning every observation into the class with the larges...

etwa 13 Jahre vor | 1

Beantwortet
How to do a classification using Matlab?
If you are using a relatively recent release, I suggest switching to |ClassificationDiscriminant|. It has more functionality and...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
SVM TRAIN - WARNING ABOUT SINGULAR MATRIX
This warning is thrown by the backslash operator \ when it solves the linear system based on the kernel matrix. You don't need t...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
How can I find the confusion matrix for a three class problem and thenfind specificity, sensitivity and accuracy from them.
If you have Statistics Toolbox, take a look at the |confusionmat| function. The accuracy is simply the sum of the diagonal eleme...

etwa 13 Jahre vor | 0

Beantwortet
Euclidean Distance Classifier implementation for classifying 6 expressions
If by "Euclidean distance classifier" you mean nearest neighbor rules, take a look at |ClassificationKNN| in Statistics Toolbox....

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
Supervised Learning, how to examine the model produced
The answer varies per model. For linear types of |ClassificationDiscriminant|, you can use the |DeltaPredictor| property. Thi...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
SVMTRAIN - LEAST SQUARE METHOD OR QUADRATIC PROGRAMMING METHOD
LS minimizes mean squared error to solve the SVM regression problem. In SVM classification, coefficients alpha are bounded betwe...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
SVM - SVMTRAIN method SMO (error: No convergence achieved within maximum number of iterations)
You can do 3 things: # Lower the box constraint. # Increase |tolkkt|. # Set |kktviolationlevel| to a positive value. Any...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
does anybody have expertise with matlab SVM classifier?
See my comments at the bottom of this thread <http://www.mathworks.com/matlabcentral/answers/62757-how-do-i-find-slack-variables...

etwa 13 Jahre vor | 2

| akzeptiert

Beantwortet
PCA output: coefficients vs loadings
The |princomp| and |pca| functions center the data but do *not* scale. (In addition, |pca| allows not to center.) The easiest...

etwa 13 Jahre vor | 0

Beantwortet
How do I find slack variables in SVM?/ Distance to the boundary?
By definition, a slack variable for observation x with label y (-1 or +1) is max(0,1-y*f), where f is the SVM prediction (soft s...

etwa 13 Jahre vor | 0

Beantwortet
How does RegressionTree.fit works?
The MATLAB implementation is based on this book: Breiman, L., J. Friedman, R. Olshen, and C. Stone. Classification and Regres...

etwa 13 Jahre vor | 1

| akzeptiert

Beantwortet
Cross validation in matlab
The Statistics Toolbox provides utilities for cross-validation. If you are using R2011a or later, take a look at |Classification...

etwa 13 Jahre vor | 0

Mehr laden