def loglike(self, params):
        params = params.reshape(self.K, -1, order='F')
        d = self.wendog
        logprob = np.log(self.cdf(np.dot(self.exog,params)))
        return np.sum(d * logprob)
Log-likelihood of the multinomial logit model.
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/discrete_model.py/MNLogit.loglike