python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Building a Random Forest Classifier with equal output probabilities to a Decision Tree Classifier
I have been trying to build a RandomForestClassifier() (RF) model and a DecisionTreeClassifier() (DT) model in order to get the same output (only for learning purposes). I have found some questions wi...
Chris
Votes: 0
Answers: 1
How to plot the DecisionTree out of a SkLearn Pipeline?
So I am working on a decision tree within a SkLearn Pipeline. The model works fine. However, I am not able to plot the decision tree. I am not sure which object to use by calling the .plot method.
Her...
barneestinson
Votes: 0
Answers: 1
C4.5:When to stop growing tree?
I have a dataset include 10 continuous attributes and 500 cases. When I growing a decision tree, I got a problem: when to stop growing tree?
This is a tree that I build in java with c4.5, in attribute...
hua
Votes: 0
Answers: 0
Having trouble calculating mean squared error in sklearn python
I am trying to fit a decision tree regressor to a dataset, and it is working but when I test it out by calculating mean squared error. I get an error that looks like this:
msee = mse(x_test, y_test)
...
Jensen_ray
Votes: 0
Answers: 1