multinomial logistic regression model for MESH output