let me first thank the developer(s) for creating and maintaining keras-vis :clap:
I have a newbie question about the best way to visualise the most useful parts of my input data for a regression task.
I have input EEG data in the form of 5D tensor of shape (N_examples, 94_time_frames, 16_electrodes, 16_electrodes, 26 frequency bins) which I'm using to predict a 3D target of shape (N_examples, 94 time frames, 40 frequency bins). Each output is a mel-spectrogram (i.e., a spectral representation of a speech signal). I have trained the following model (a ConvLSTM) by minimising the MSE between the original and predicted spectrogram.
From there, I would like to identify / visualise the "most useful" electrodes in my 16-by-16 grid of electrodes for (correctly) predicting my output, that is, for correctly predicting the power in some frequency bin and some time frame (i.e., which electrode contribute the most in reducing the error).
My approach has been to use visualize_activation as follows:
Hi all,
let me first thank the developer(s) for creating and maintaining
keras-vis
:clap:I have a newbie question about the best way to visualise the most useful parts of my input data for a regression task.
I have input EEG data in the form of 5D tensor of shape (N_examples, 94_time_frames, 16_electrodes, 16_electrodes, 26 frequency bins) which I'm using to predict a 3D target of shape (N_examples, 94 time frames, 40 frequency bins). Each output is a mel-spectrogram (i.e., a spectral representation of a speech signal). I have trained the following model (a ConvLSTM) by minimising the MSE between the original and predicted spectrogram.
From there, I would like to identify / visualise the "most useful" electrodes in my 16-by-16 grid of electrodes for (correctly) predicting my output, that is, for correctly predicting the power in some frequency bin and some time frame (i.e., which electrode contribute the most in reducing the error).
My approach has been to use
visualize_activation
as follows:and then to average this idealised input over time frames and frequency bins to obtain a 16-by-16 matrix (representing my grid of electrodes).
However, I'm a bit unsure that this really gives me what I'm really looking for...
Does someone have any idea or suggestion?
Thanks