data61/MP-SPDZ

Does logistic regression support multiple classes?

Closed this issue · 1 comments

Hi,

I have a classification dataset with three classes. Does the logistic regression implementation supports multiple classes?

Thanks,

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