keras: what is the difference between model.predict and model.predict_proba

前端 未结 3 933
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-03 23:27

I found model.predict and model.predict_proba both give an identical 2D matrix representing probabilities at each categories for each row.

Wha

3条回答
  •  囚心锁ツ
    2021-02-03 23:59

    As mentioned in previous comments (and here), there currently isn't any difference.
    However one seems to exist only for backward compatibility (not sure which one, and I'd be interested to know).

提交回复
热议问题