🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to know whether to perform any preprocessing or not?

User: "201202010"
New Altair Community Member
Updated by Jocelyn
Do we have to perform pre-processing when using Random Forest?

Find more posts tagged with

Sort by:
1 - 3 of 31
    Hi,
    well.. The short answer here is: no.

    One of the coolest thing for Random Forests is, that they can basically handle all kind of data and also have some "built-in feature selection". Thus you can just throw data on it and get reasonable results. The only exception for this are date attributes, which you should preprocess (e.g. Day of the Week).

    Now the longer answer: The right preprocessing can get you better results. While Random Forests are easy-care algorithms, you can still do things. One problem could be feature generation to get around XOR-Problems. The new Auto-Model feature for automatic feature generation, which is part of the 9.1 (Beta) can help here.

    BR,
    Martin
    User: "rfuentealba"
    New Altair Community Member
    Hi @201202010,

    I agree with @mschmitz: You don't have to. Nevertheless, I would pass only the features I want to use to my algorithm, and remove the correlated attributes.
    User: "Telcontar120"
    New Altair Community Member
    Also, if you are not necessarily going to use Random Forest, then other algorithms will benefit from or require preprocessing.  So it is a helpful step to perform as part of your EDA, especially, handling missings, outliers, etc.