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 ...
user avatar
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 ...
user avatar
  • 21.7k
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 ...
user avatar
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 ...
user avatar
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.
user avatar
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 ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible