Does logistic regression support multiple classes?
Closed this issue · 1 comments
hdvanegasm commented
Hi,
I have a classification dataset with three classes. Does the logistic regression implementation supports multiple classes?
Thanks,
mkskeller commented
Plain logistic regression only supports two classes, but you can build a model with a dense layer followed by softmax using the PyTorch or Keras interface: https://mp-spdz.readthedocs.io/en/latest/machine-learning.html#pytorch-interface