- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I was wondering if anyone can help me?
Is this possible or right to use standardized data with random forest and decision trees?
If use with standardized data how algorithm treats that data?
Regards
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I don't think it hurts that you have already standardized. With the tree-based algorithms, interval inputs are typically binned anyway (using bucket or equal-spaced binnin) before doing the split search, so it should be fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Typically, you do not have to standardize data (z-score) with tree models (decision tree, random forest, gradient boosting etc.) as the algorithm tries to split at a place where classification/prediction is the best based on some criteria. Also, when you standardize, the interpretability gets little harder -- instead of saying age > 25 years is a good split, you have to say age > 1 std dev away from the mean is a good split etc. So for tree based models, I say, when you don't need it, why do the extra work.
Hope this helps,
Radhikha
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Here is a really helpful article about standardizing that was just posted:
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for sharing this wonderful article which really clarifies things but my question remains same if my dataset is already standardized would it be wrong to use random forest and decision tree or its ok.
Plus, the dataset i have contains 5 colmuns which were difficult to be analysed without standardization for example all of them contain memory addresses like 0x00979876 etc. Only thing i did was to convert these 5 into decimal representation and standardized all of them.
Other columns have normal categorical values.
Hope this clarifies more.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I don't think it hurts that you have already standardized. With the tree-based algorithms, interval inputs are typically binned anyway (using bucket or equal-spaced binnin) before doing the split search, so it should be fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content