Logistic Regression only for 2 Label Classes?

Fred12
Fred12 New Altair Community Member
edited November 5 in Community Q&A

hi,
I had some issues with logistic regression.. to clarify first: can it only handle binomial values, that's said, only label class with 2 possible values ? or also more? because I had nominal label data with 3 classes... it says "cannot handle polynomial label"... when I splitted the dataset into only 2 possible label class values, it seemed to run at least, but then my Rapidminer Studio crashes every time I run it... is it a bug?

Answers

  • zprekopcsak
    zprekopcsak New Altair Community Member

    Fred,

    Can you please share your crashing process and some sample of the data?

    Thanks, Zoltan

  • sfraunhoffer
    sfraunhoffer New Altair Community Member

    Hi,

    the logistic regression operator cannot handle any kind of nominal attributes. It can only be applied on data sets with numeric attributes. So you have to use the Nominal to Numerical operator to dummy coding your polynominal attributes.

     

    Greetings,

    Sigrun

  • phellinger
    phellinger New Altair Community Member

    Hi Sigrun,

     

    the new Logistic Regression algorithm (starting from version 7.2) does handle nominal attributes out of the box.

     

    Best,

    Peter