One-Hot encoding: • Pros: No assumption about the order, handles non-ordinal data well. • Cons: Increases the dimensionality of the data. Label encoding: • Pros: Simple, retains ordinal information. • Cons: Can introduce unintended ordinal relationships. Ordinal Encoding: • Pros: Maintains the order of categories. • Cons: Assumes the order is meaningful
احتاج شرح فكرتها مافهمت الفرق ولا ليش تتسخدام احتاج مثال جدول وارقام لااريد كود