How to change parameters in LSTM for multivariate binary classification time series?
The sigmoid activation gives you a number between 0 and 1 (you can consider it as the probability of item i to be of class 1). To get hard predictions (0s and 1s) you just use a rule that says &quot;I consider that the item is predicted positive if the probability is above a certain threshold&quot;. For example, for a threshold of 0.5, you just map every predicted value above 0.5 to 1 and the rest to 0.