This is code for biological data analysis using a multi-state diluted discrete perceptron. It contains also a matlab mex implementation.