You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ISSUE : when i call y_train_predict = model.predict(X_train, verbose=0) and evalaute the loss i get "926" instead of something close to 200 that we see on the image above , here is the numpy function that compute the same custom loss def score_M2(reel,pred): return max(abs(np.cumsum(reel-pred)))
PS : i checked that the loss_M2 and score_M2 give the same results for the same inputs.
Please tell me what is happening here.
The text was updated successfully, but these errors were encountered:
My first guess would be that the data you validate on is not the same as the internal validation data, is that possible? If so, I would try to check the score on exactly the same data.
Out of curiosity, do you use keras in conjunction with nolearn?
Hello,
i use CNN model for a regression problem with a custom loss
ISSUE : when i call
y_train_predict = model.predict(X_train, verbose=0)
and evalaute the loss i get "926" instead of something close to 200 that we see on the image above , here is the numpy function that compute the same custom lossdef score_M2(reel,pred): return max(abs(np.cumsum(reel-pred)))
PS : i checked that the loss_M2 and score_M2 give the same results for the same inputs.
Please tell me what is happening here.
The text was updated successfully, but these errors were encountered: