What is the consequence of using ‘handle_unknown=’ignore” in OneHotEncoder during transformation?

Select the correct answer: Single Choice

Key points

  • Prevents errors on unseen data
  • Results in all-zero vectors for unknowns
  • Useful for production pipelines

Ready to go further?