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.

Visualizing decision tree in scikit-learn

I am trying to design a simple Decision Tree using scikit-learn in Python (I am using Anaconda's Ipython Notebook with …

python scikit-learn visualization decision-tree
How to extract the decision rules from scikit-learn decision-tree?

Can I extract the underlying decision-rules (or 'decision paths') from a trained tree in a decision tree as a textual …

python machine-learning scikit-learn decision-tree random-forest
Passing categorical data to Sklearn Decision Tree

There are several posts about how to encode categorical data to Sklearn Decision trees, but from Sklearn documentation, we got …

python scikit-learn decision-tree
Decision tree vs. Naive Bayes classifier

I am doing some research about different data mining techniques and came across something that I could not figure out. …

data-mining decision-tree bayesian-networks
PHP function to increment variable by 1 each time

I have started writing a PHP script for a game about creatures, there are 4 yes/no questions and what I …

php function auto-increment decision-tree expert-system
How to compute error rate from a decision tree?

Does anyone know how to calculate the error rate for a decision tree with R? I am using the rpart() …

r classification decision-tree rpart
Decision Tree in Matlab

I saw the help in Matlab, but they have provided an example without explaining how to use the parameters in …

matlab machine-learning decision-tree
How to read the classifier confusion matrix in WEKA

Sorry, I am new to WEKA and just learning. In my decision tree (J48) classifier output, there is a confusion …

classification weka decision-tree
How do I solve overfitting in random forest of Python sklearn?

I am using RandomForestClassifier implemented in python sklearn package to build a binary classification model. The below is the results …

python machine-learning scikit-learn decision-tree random-forest
Visualizing Weka classification tree

I am using few data sets available online and trying to visualize tree. However, it does not let me visualize …

data-visualization classification weka decision-tree