Verification and estimation of a posterior probability and probability density function using vector quantization and neural network