Maths : how did you generate the predict values?

Hi Team,

First of all, I wish you a happy new year.

I have done two models, using DIABLO and MINT (with breast.TCGA and stemcells dataset) and I have the same question for both. I have used the predict function on a test set :

pred ← stats::predict(DIABLO, datatestDIABLO)

Could you tell me how you generated the pred$predict values please ? Could you also tell me what is the meaning of pred$B.hat values ?

Thanks a lot.
Lionel