Score matrix for multinomial logit model log-likelihood
Parameters : | params : array
|
---|---|
Returns : | score : ndarray, (K * (J-1),)
|
Notes
for
In the multinomial model the score matrix is K x J-1 but is returned as a flattened array to work with the solvers.