PulseAugur
EN
LIVE 02:48:03

User seeks advice on encoding for multiclass classification with XGBoost

A user on Reddit's r/MachineLearning subreddit is seeking advice on how to encode categorical variables for a multiclass classification task using XGBoost. They have a dataset with mixed numerical and categorical features, and a target variable consisting of various disease names. The user is unsure whether to apply one-hot encoding to both the feature and target variables or use different encoding methods for each. AI

RANK_REASON This is a user question on a forum about a specific technical detail, not a significant industry event or release.

Read on r/MachineLearning →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

User seeks advice on encoding for multiclass classification with XGBoost

COVERAGE [1]

  1. r/MachineLearning TIER_1 English(EN) · /u/Rami02021 ·

    How should I encode both target and feature variable for a multiclass classification? [D]

    <!-- SC_OFF --><div class="md"><p>I am preprocessing a CSV dataset for multiclass classification with XGBoost. My <strong>Feature variable</strong> contain <strong>numerical and categorical values</strong>, while <strong>the target variable contain many categorical value.</strong…