O'Reilly logo

Machine Learning with Spark - Second Edition by Nick Pentreath, Manpreet Singh Ghotra, Rajdeep Dua

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Multinomial logistic regression

Multinomial logistic regression generalizes to multiclass problems; it allows for more than two categories of the outcome variable. Just like binary logistic regression, multinomial logistic regression also uses maximum likelihood estimation to evaluate the probability.

Multinomial logistic regression is mainly used when the dependent variable in question is nominal. Multinomial logistic regression is a classification problem in which a linear combination of the observed features and parameters can be utilized to calculate the probability of each particular outcome of the dependent variable.

In this chapter, we will use a different dataset from the one we used for our recommendation model, as the MovieLens ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required