Closed ajinkyakulkarni14 closed 1 year ago
Hello @ajinkyakulkarni14 ,
TimeSHAP is model-agnostic, which means it doesn't impose any restrictions on the explained model architecture. You can indeed explain a Transformer network with it.
If you have more questions, please don't hesitate to ask here or open a new issue.
Thank you for quick response.
Is the wrapper of TimeSHAP is DNN network agnostic? like for the following functions,
model_wrapped = TorchModelWrapper(model) f_hs = lambda x, y=None: model_wrapped.predict_last_hs(x, y)
Can we apply same to Transformer network?