Learning system for differentiating between usual and unusual