kaggle-quora-question-pairs icon indicating copy to clipboard operation
kaggle-quora-question-pairs copied to clipboard

Question about the logistic def in the utils.py

Open xfsm1912 opened this issue 7 years ago • 1 comments

@staticmethod def logistic(y): assert isinstance(p, np.ndarray), 'type error' return np.exp(y) / (1. + np.exp(y))

in this def, the p should be y or the variable p defined in other def?

xfsm1912 avatar Feb 24 '18 02:02 xfsm1912

seems that this should be y

lpyhdzx avatar May 31 '19 05:05 lpyhdzx