Multiclass classification by sparse multinomial logistic regression