daynebatten / keras-wtte-rnn

Demo Weibull Time-to-event Recurrent Neural Network in Keras

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build_data()

EdMwa opened this issue · comments

commented

Hey - thanks for this demo. In your build_data func, whats the rationale behind the value 99 in the following line?

xtemp[:, max_time-min(j, 99)-1:max_time, :] = engine_x[max(0, j-max_time+1):j+1, :]

I suggest that 99 is (number of engines - 1)

I think it corresponds to the mask value. He explains in the section Some Keras tweaks