demglm1
data
and a vector of classifications t
. The data is
generated from two Gaussian clusters, and a generalized linear model
with logistic output is trained using iterative reweighted least squares.
A plot of the data together with the 0.1, 0.5 and 0.9 contour lines
of the conditional probability is generated.
demglm2
, glm
, glmtrain
Copyright (c) Ian T Nabney (1996-9)