Welcome!
I tried to clean up the formatting of your code, but there are some pretty basic syntax errors that prevent the code from running. I assume these are weird copy and paste errors?
Examples:
X_temp = dic_data.[j][channel].values
and
for j in in dic_data.keys().keys():