Respondida
How to find the optimal tree size when building a decision tree?
Grow a deep tree by setting minparent to 1, find the optimal pruning level using http://www.mathworks.com/help/toolbox/stats/...

casi 14 años hace | 0

Respondida
Cart Algorithm in Matlab with more than binary splits?
The CART algorithm described in the book by Breiman et al. uses binary splits only. The MATLAB implementation is based on this a...

casi 14 años hace | 0

Respondida
Crossvalidation: anonymous function handle with toolbox classifiers
I think you've hit a bug in the crossval function. My guess is that classRF_predict returns numeric labels, and crossval does no...

alrededor de 14 años hace | 1

Respondida
Crossvalidation: anonymous function handle with toolbox classifiers
I am not an expert on the randomforest-matlab package, so my advice could be off. I find two things in your post worth investiga...

alrededor de 14 años hace | 0

Respondida
c4.5
I don't know if you can use classregtree for "c4.5 classification". If you are looking for *a* decision tree implementation, you...

alrededor de 14 años hace | 0

Respondida
Leave-one-out cross-validation with svmtrain gives 'impossible' accuracy results
You are missing my point about the majority class. Let me try again. Suppose you generate 200 observations and assign labels ...

alrededor de 14 años hace | 1

| aceptada

Respondida
c4.5
Statistics Toolbox provides a decision tree implementation based on the book Classification and Regression Trees by Breiman et a...

alrededor de 14 años hace | 1

Respondida
Leave-one-out cross-validation with svmtrain gives 'impossible' accuracy results
I don't know what went wrong with your real data. In this mock-up exercise, you are trying to separate two classes that are esse...

alrededor de 14 años hace | 0

Respondida
edit-error in classifier
Quoting http://www.mathworks.com/matlabcentral/answers/34771-classifier In particular, 2nd example for crossval here http://w...

alrededor de 14 años hace | 0

| aceptada

Respondida
error using classperf
See my response in http://www.mathworks.com/matlabcentral/answers/34771-classifier In your code snippet, the error is caused ...

alrededor de 14 años hace | 0

| aceptada

Respondida
-(Face clssification using Random Forest Technique),,,theri one problem occured during the use of Random-Forest MATLAB code,,,,,
1. ytrain and ytest are likely arrays of true class labels (if you have a classification problem) or arrays of observed continuo...

alrededor de 14 años hace | 0

Respondida
classifier
You can use out-of-bag error as an unbiased estimate of the generalization error. Train TreeBagger with 'oobpred' set to 'on' an...

alrededor de 14 años hace | 0

Respondida
classifier
If you have Statistics Toolbox and MATLAB 9a or later, you can use TreeBagger. Please read the documentation and take a look at ...

alrededor de 14 años hace | 0

Respondida
error using svmtrain (not enough inputs)
If you are using svmtrain function from the official MATLAB install (verify by typing 'which svmtrain' in your command window), ...

alrededor de 14 años hace | 0

Respondida
does RegressionTree.fit see the predictors as nominal variables or ordinal variables if you set 'CategoricalPredictors' to 'all'?
For trees, "categorical predictor" means "nominal predictor". If you had an ordinal predictor, you could just use it as is becau...

alrededor de 14 años hace | 0

Respondida
How do I display the rule in a regression tree in a different fashion than default?
You do not say what regression tree you are using. Let's assume you are using RegressionTree. It is not clear what you mean ...

alrededor de 14 años hace | 0

Respondida
How do you obtain a vector of predicted classes generated after cross-valiation of a decision tree?
If you have 11a or later, you can use ClassificationTree: load fisheriris; cvtree = ClassificationTree(meas,species,'kfo...

alrededor de 14 años hace | 0

Respondida
How to classify using non-linear support vector machine
svmStruct = svmtrain(data(train,:),groups(train),'kernel_function','rbf')

alrededor de 14 años hace | 0

Respondida
Machine Learning Confidence Value question
The 3rd output from CLASSIFY is class posterior probabilities. Isn't this what you want?

alrededor de 14 años hace | 0

| aceptada

Respondida
Is possible to accelerate sequentialfs using a GPU?
TreeBagger and sequentialfs can be run in a parallel mode using parfor. See 'help parallelstats' for more info. Executing these ...

alrededor de 14 años hace | 0

Respondida
Remove or replace trees from a TreeBagger ensemble
Combining two objects would be hard. You can work around this by growing one big ensemble and treating parts of it as separate e...

alrededor de 14 años hace | 1

| aceptada

Respondida
Why does sequentialfs always outperform cross-validation with selected features?
I don't know if your code is correct. But accuracy estimates obtained by sequential selection are always biased high. Consid...

más de 14 años hace | 0

| aceptada

Respondida
predict function behavior in Matlab regression trees
It's the average over observations in the node.

más de 14 años hace | 0

Respondida
what's the difference between DeltaCritDecisionSplit property vs. Gini's Diversity Index?
Predictor importance estimates for every tree in an ensemble are added together. The sum is then divided by the number of trees....

más de 14 años hace | 0

Respondida
what's the difference between DeltaCritDecisionSplit property vs. Gini's Diversity Index?
Yes, DeltaCritDecisionSplit property of TreeBagger is the equivalent of predictorImportance method for an ensemble produced by f...

más de 14 años hace | 0

Respondida
classregtree.m- how to get the node and leaf details
Here is online doc for classregtree methods: http://www.mathworks.com/help/toolbox/stats/classregtreeclass.html Or you can...

más de 14 años hace | 0

Respondida
How to save generated tree from classregtree function into array variable
Your t variable contains much more than these 9 lines. It is an object with a whole bunch of methods. The output you see is just...

más de 14 años hace | 0

Respondida
Classification by logistic regression
Because logistic regression is a simple linear model and because you have 10 times as many observations as predictors, the class...

más de 14 años hace | 0

| aceptada

Respondida
decision tree const. prob.
Depends on what you mean by "code of the tree". If you want to find classregtree code in your MATLAB install, type 'which cla...

más de 14 años hace | 0

| aceptada

Respondida
Test the performance of the ClassificationTree algorithm against the excel file data
Yes, it is possible. Follow MATLAB documentation for reading data from an Excel file and estimating the tree accuracy. If you ar...

más de 14 años hace | 0

| aceptada

Cargar más