demglm1

Purpose

Demonstrate simple classification using a generalized linear model.

Synopsis

demglm1

Description

The problem consists of a two dimensional input matrix 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.

See Also

demglm2, glm, glmtrain
Pages: Index

Copyright (c) Ian T Nabney (1996-9)