Class weighting during validation in Keras
As described in Keras.models.py[1], validation_data can be a tuple (inputs, targets, sample_weights).  So, you can use this parameter for class weighting during the validation loss calculation. 



[1] https://github.com/fchollet/keras/blob/master/keras/models.py