Multiclass Classifier - how are probabilites generated

Hi,

I'm using the MultiClass classifier with ECOC (Random codes) and LMT as base classifier.

As far as I understand from what I read, the ECOC decomposes the problem in many binary ones (so many as the number of digits of the codeword).

So given that the codeword is for example 5-digits then 5 LMT classifiers will be constructed and each one will predict the 0 or 1 value for the specific bit.

Then the resulted codeword is compared to the codeword of each class based on Hamming distance and the one with the smallest one is given as the output of the classifier.

So far so good. My question is how are the probabilities for each class that the MultiClassClassifier produces generated?