Exemple #1
0
 def loss_np(y_true, y_pred):
     return hinge_np(y_true, y_pred)
Exemple #2
0
 def loss_np(y_true, y_pred):
     from plasma.conf import conf
     return conf['model']['loss_scale_factor']*hinge_np(y_true, y_pred)
Exemple #3
0
 def loss_np(y_true, y_pred):
     from plasma.conf import conf
     return conf['model']['loss_scale_factor']*hinge_np(y_true,y_pred)
Exemple #4
0
 def loss_np(y_true, y_pred):
     return conf['model']['loss_scale_factor']*hinge_np(y_true,y_pred)