Skip to content

[FAQ Bot] NEW: Can I use pd.get_dummies instead of DictVectorizer for one-hot encod - #445

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
faq-bot/issue-444
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
faq-bot/issue-444

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

✨ FAQ NEW

Course: machine-learning-zoomcamp
Section: module-3 (This is directly about one-hot encoding for classification and specifically mentions DictVectorizer, so it fits Module 3’s topic area (Churn prediction / one-hot encoding).)
Related Issue: #444

Question

Can I use pd.get_dummies instead of DictVectorizer for one-hot encoding (Homework 3 Q4)?

Decision Rationale

The proposal asks specifically whether pd.get_dummies can be used instead of DictVectorizer for one-hot encoding in Homework 3 Q4, and it gives guidance on the key risk (mismatched columns across splits). None of the existing FAQs address pd.get_dummies vs DictVectorizer with train/validation alignment advice.

Placement Details

  • Section ID: module-3
  • Sort Order: End of section
  • Filename Slug: pd-get-dummies-vs-dictvectorizer-one-hot-q4

🤖 Generated by FAQ Bot

Closes #444

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FAQ] : Homework 3 Q4 - DictVectorizer vs pd.get_dummies for one-hot encoding

0 participants