deep learning - Keras Model Scoring -


i have built dl model sentiment classification using keras library , when predict scores of sentences using function model.predict() probability score. i'd know if need set .5 threshold in deciding binary class??

i learnt can use function

model.predict_classes(x)

to predict classes directly. surprisingly not find in official api reference. https://keras.io/models/model/


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -