The Hosmer-Lemeshow test is a test for goodness of fit in binary classification. It is typically used in the context of logistic regression. Note that the Hosmer-Lemeshow test is now considered obsolete.
The Hosmer-Lemeshow test is now considered obsolete: https://stats.stackexchange.com/a/273999/11887