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
while scores_train and scores_valid are defined as
function(predict, target)
I'm not sure if this was intentional, but it makes it somewhat confusing
The text was updated successfully, but these errors were encountered:
DanChianucci
changed the title
scores_train/valid takedifferent parameters than custom score
scores_train/valid take different parameters than custom_scores
Aug 15, 2016
I agree it's confusing and it's mostly an accident. custom_scores was first introduced and uses the scikit-learn metrics interface (an example here), while scores_train and scores_valid use Lasagne's objectives interface where the arguments are predictions, target, so the other way around.
custom_scores are defined as
function(target, prediction)
while scores_train and scores_valid are defined as
function(predict, target)
I'm not sure if this was intentional, but it makes it somewhat confusing
The text was updated successfully, but these errors were encountered: