Is it a K-L divergence or cross entropy or some squared error metric? I hope not the latter, but it concerns me that it treats a logistic model as a special case of a generalized linear model.