2
votes
Accepted
How to handle date in Random Forest prediction?
Random Forest needs to handle dates as numeric data, that's why you can use the day, the weekday, the month, the trimester and the year as separated fields.
In addition to that, if your data has a ...
1
vote
Why can Random Forest "handle missing values and cardinality well compared to linear regression"?
Generally, random forests are a much more sophisticated method than linear regression: it's an ensemble method with multiple decision trees, and a single decision tree is already a much more flexible ...
1
vote
Which Model for predicting flight delays is appropriate except Random Forest and Decision Tree? (Monte Carlo?)
Weather is responsible for 90% of the flight delays. How is it possible to make reliable predictions with just 10% of the remaining causes? (if their data is available)
You have an existing map called ...
1
vote
Random Forest Classifier Output
On what data are you training on? Is your training data binary?
If not, then set a treshold when your target variable should be 1 and 0 otherwise. Then train your RandomForestClassifier on the binary ...
1
vote
Random Forest Classifier Output
Take the numbers given by the model and threshold them. Everything above X (usually .5) is mapped to 0, everything greater than X is mapped to 1.
1
vote
Prohibitive size of random forest when saved to disk
I ran into a similar issue and was surprised to find out that indeed decision trees can easily take a lot of memory (range of MBs) and random forests will easily multiply that in the GB range. Details ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
random-forest × 790machine-learning × 277
scikit-learn × 166
python × 150
decision-trees × 117
classification × 114
r × 71
feature-selection × 66
regression × 61
predictive-modeling × 61
xgboost × 51
cross-validation × 38
machine-learning-model × 32
logistic-regression × 29
neural-network × 28
class-imbalance × 28
svm × 25
overfitting × 23
hyperparameter-tuning × 21
prediction × 19
ensemble-modeling × 19
time-series × 17
feature-engineering × 17
accuracy × 16
linear-regression × 14