Closed ViktorKaz closed 6 years ago
the predict() method of keras sequential models seems to defaults to predict_proba(). This introduces inconsistency which can be fixed by subclassing the kearas estimator class and implementing predict().
This is implemented. See estimators.nn_estimators. In particular, see the OverwrittenSequentialClassifier class.
OverwrittenSequentialClassifier
the predict() method of keras sequential models seems to defaults to predict_proba(). This introduces inconsistency which can be fixed by subclassing the kearas estimator class and implementing predict().