Learn from the patterns of previous manias