I’m currently working on the Linear Regression Health Costs Calculator, and I want to one-hot encode all categorical columns. However, when using the functions “categorical_column_with_vocabulary_list”, “indicator_column” and “numeric_column”, although they work, I got the message that they were deprecated and taking a look their documentation it says that they are not recommended for new code, and that Keras preprocessing layers cover this functionality.
So I took a look at both mentioned there (guides Migrate tf.feature_columns to Keras preprocessing layers | TensorFlow Core and จำแนกข้อมูลที่มีโครงสร้างโดยใช้เลเยอร์การประมวลผลล่วงหน้าของ Keras | TensorFlow Core), but I didn’t really understand what the equivalent methods could be. Maybe the terminology they use is too advanced for me or the migration for these specific methods isn’t explicit enough, but I would truly want to learn what the “modern” equivalences are.
Thanks in advance