timothyyu / gdax-orderbook-ml

Application of machine learning to the Coinbase (GDAX) orderbook
BSD 3-Clause "New" or "Revised" License
94 stars 28 forks source link

graphic visualization of layer weights #24

Open timothyyu opened 6 years ago

timothyyu commented 6 years ago

https://stackoverflow.com/questions/42861460/how-to-interpret-weights-in-a-lstm-layer-in-keras?utm_medium

https://github.com/keras-team/keras/issues/3088

for e in zip(model.layers[0].trainable_weights, model.layers[0].get_weights()): print('Param %s:\n%s' % (e[0],e[1]))

timothyyu commented 6 years ago

potential application of lstmvis project to model layer weights + cell states: http://lstm.seas.harvard.edu/ https://github.com/HendrikStrobelt/LSTMVis

Related: https://github.com/keras-team/keras/issues/4962 https://github.com/cbaziotis/neat-vision

Attention mechanism (partially related): https://github.com/philipperemy/keras-attention-mechanism