Is it possible to use entity embedding with autoencoder for anomaly detetction?

I’m trying to build autoencoder in keras in order to detect anomalies. However, most of the data is categorical and I have to encode it. When it comes to production, categorical features can take new values. So I thought of using entity embedding. I’ve created an embedding layer for each categorical feature. In the code…

Details