# How is the LBPH predict value in FaceRec calculated

Hi everyone, my question concerns the faceRec class and the predict function within. I know that the predict value for Fisher and Eigenface is the distance in the subspace between the input image and the closest training image.

But how is the predict value calculated for LBPH? Is it the number of different values in the histograms? Or the number of different part-histograms? Or something totally different?

Greets Max