Closed divyat09 closed 4 years ago
Hmm, is the ae model a keras
model (as opposed to tf.keras
)? What about pred_model
- you said it's black box, but is there an underlying framework?
Both the pred_model and the autoencoder are tf.keras model. I think the error is because I have a variational autoencoder, hence I also need to input the noise from the standard normal distribution for sampling. Using auto-encoder should do the job here, however, are variational auto-encoders supported? Thanks for your help.
That's strange, the noise sampling should be part of the VAE model, so as long as you can do a forward and backward pass it should work with VAEs without special handling.
Sure, due to some errors with my Keras model I had noise sampling as part of the input to the model. It should work fine with noise sampling as part of the VAE model. Thanks.
I am using CEM to generate explanations over a dataset with three continuous features and a binary outcome variable. The black box machine learning model is a single layer neural network with sigmoid activation.
When I generate explanations using CEM explainer without the auto-encoder, the code works fine without any errors. However, when I use an auto-encoder with the CEM explainer I get the following error:
ValueError Traceback (most recent call last)