MetOffice / XBTs_classification

Project for the classification of eXpendable Bathy Thermographs
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Fix bug in probability output #64

Closed stevehadd closed 3 years ago

stevehadd commented 3 years ago

There is a bug in the probability output code. This has come about because initially, one hot encoding was used for the target features (instrument), but later we switched to using label encoding. The vote probability code, was not updated, so is producing nonsense.

The code responsible is here: https://github.com/MetOffice/XBTs_classification/blob/master/classification/experiment.py#L659

in generate_vote_probabilities.