Top "Decision-tree" questions

A decision tree is a decision support tool that uses a tree-like graph or model of decisions and their possible consequences, including chance event outcomes, resource costs, and utility.

building classification tree having categorical variables using rpart

I have a data set with 14 features and few of them are as below, where sex and marital status are …

r decision-tree rpart
how to explain the decision tree from scikit-learn

I have two problems with understanding the result of decision tree from scikit-learn. For example, this is one of my …

python numpy scipy scikit-learn decision-tree
scikit learn - feature importance calculation in decision trees

I'm trying to understand how feature importance is calculated for decision trees in sci-kit learn. This question has been asked …

python scikit-learn decision-tree feature-selection
How do I find which attributes my tree splits on, when using scikit-learn?

I have been exploring scikit-learn, making decision trees with both entropy and gini splitting criteria, and exploring the differences. My …

python machine-learning scikit-learn decision-tree
How to implement decision tree with c# (visual studio 2008) - Help

I have a decision tree that i need to turn to a code in C# The simple way of doing …

c# .net classification decision-tree
confusion matrix from rpart

I can't for the life of me figure out how to compute a confusion matrix on rpart. Here is what …

r machine-learning classification decision-tree confusion-matrix
Calculating prediction accuracy of a tree using rpart's predict method

I have constructed a decision tree using rpart for a dataset. I have then divided the data into 2 parts - …

r machine-learning decision-tree rpart
how to calculate accuracy from decision trees?

Hi, I am taking a course on Coursera and came into this question. My answer is 1-(4048+3456)/8124=0.076. However, the answer …

decision-tree
C5.0 decision tree - c50 code called exit with value 1

I am getting the following error c50 code called exit with value 1 I am doing this on the titanic data …

r machine-learning decision-tree kaggle
How to handle categorical variables in sklearn GradientBoostingClassifier?

I am attempting to train models with GradientBoostingClassifier using categorical variables. The following is a primitive code sample, just for …

python machine-learning scikit-learn decision-tree ensemble-learning