juliacamps / FOG

Freezing of Gait detection using deep learning techniques
MIT License
6 stars 1 forks source link

models: weighted_hinge_loss() #1

Closed luisfrancs closed 5 years ago

luisfrancs commented 5 years ago

Hello, ¿Could you confirm if in line 39 is correct the simbol \ at the end hinge_neg = K.mean(K.maximum(1. - y_neg * y_pred, 0.)) * \

juliacamps commented 5 years ago

Hello, ¿Could you confirm if in line 39 is correct the simbol \ at the end hinge_neg = K.mean(K.maximum(1. - y_neg * y_pred, 0.)) * \

Links to the next line, it's correct. This may vary depending on your Python version though.