FIG. 17 is a flow chart of an algorithm for learning an aggregate number of prisoners'/parolees' behavior that further includes the act of analyzing statistical information and providing learning information in each of the various prisoner/parolee categories using expert system (i.e. fuzzy logic, neural networks, reinforcement learning, etc.) algorithms for analyzing deviated behavior.