HF RL Explorer

Task: Implement a Random Forest Classifier That Properly Handles Categorical Features as Grouped Variables

Task: Implement a Random Forest Classifier That Properly Handles Categorical Features as Grouped Variables: a task in Terminal-Lego-15k (Harbor dataset). Scikit-learn's RandomForestClassifier does not natively handle categorical features as single units. When you one-hot encode a categorical…

The task

Scikit-learn's `RandomForestClassifier` does not natively handle categorical features as single units. When you one-hot encode a categorical variable (e.g., "color" with values ['red', 'blue', 'green', 'orange']), the resulting dummy variables are treated as independent features during the random feature selection at…

Part of PrimeIntellect/Terminal-Lego-15k.