Guest User

Untitled

a guest
Nov 17th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. import keras
  2.  
  3. class_weight = {"buy": 0.75,
  4. "don't buy": 0.25}
  5.  
  6. model.fit(X_train, Y_train, epochs=10, batch_size=32, class_weight=class_weight)
Add Comment
Please, Sign In to add comment