Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
6 votes
2 answers
105 views

I am trying to replicate a specific decision tree trained by a RandomForestRegressor class, using DecisionTreeRegressor. However, I cannot get the exact results, even with using the exact same ...
1 vote
1 answer
111 views

I have made a basic HDBSCAN model (picture output below) but I need to figure out names for the individual clusters. Is there a way I can get something like a decision tree or the parameters for each ...
1 vote
0 answers
92 views

When trying to fit scikit-learn DecisionTreeClassifier on my data, I am observing some weird behavior. x[54] (a boolan feature) is used to break the 19 samples into 2 and 17 on top left node. Then ...
0 votes
1 answer
99 views

I'm trying to use HalvingGridSearch to find the best DecisionTree model. My model performs a multi-label prediction on a single example, it is trained on a batch of data of size (n_samples x ...
0 votes
0 answers
72 views

Following the example for h2o rulefit model from the documentation (https://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/rulefit.html), I checked the variable importance of the rules or linear ...
3 votes
1 answer
97 views

A new code-generating tool is given only one input - n, the size of an input array. The tool should then generate a simple decision tree program that contains 2 kinds of nodes: decision node with ...
0 votes
0 answers
52 views

I'm trying to define a custom splitter using sklearn Classification Trees classes, but I'm getting no results so far. I got no errors but the tree is not developed. How to achieve this? My strategy is ...
0 votes
2 answers
84 views

According to the sklearn docs, if you apply predict_proba to DecisionTreeClassifier: The predicted class probability is the fraction of samples of the same class in a leaf. Let's say that the rows ...
1 vote
1 answer
59 views

I have come around a strange thing when plotting a decision tree in sklearn. I just wanted to compare a Random Forest model consisting of one estimator using bootstrapping and one without ...
0 votes
0 answers
151 views

I'm trying to use the dtreeviz library to visualize a decision tree, but I’m encountering an error: TypeError: 'int' object is not subscriptable Here’s the code I’m trying to run: viz = dtreeviz(...
0 votes
0 answers
41 views

I want to simplify the decision tree output and hide the values ​​in the "value" field.Below is the code I am using enter image description here fig, ax = plt.subplots(figsize=(10, 10)) ...
1 vote
0 answers
38 views

I'm currently working on a decision tree for an enemy character. I'm not sure how to use the actions for the decision tree. Does the actions either: 1. void AttackAction::ExecuteAction(EnemyBase& ...
0 votes
1 answer
51 views

I use the following code to plot a decisions trees: plt.figure(figsize=(12, 12)) plot_tree(estimator, feature_names=feature_names, label= 'all', ...
Addon's user avatar
  • 95
0 votes
1 answer
50 views

I am using the REEMtree package in R to build a tree with random effects, but when I attempt to make predictions on the test data, I encounter the following error: Error in predict.REEMtree(...
Linus's user avatar
  • 355
0 votes
0 answers
56 views

I have a tree structure that I'm using to represent a set of decisions and the resulting payout: Here there are two choices to be made: 0 can be either a, b or c, and 1 can be either d or e. The ...
danvk's user avatar
  • 17.2k

15 30 50 per page
1
2 3 4 5
...
168

AltStyle によって変換されたページ (->オリジナル) /