kaggle-quora-question-pairs
kaggle-quora-question-pairs copied to clipboard
Question about the logistic def in the utils.py
@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?
seems that this should be y