An Region-Based Learning Approach to Discovering Temporal Structures in Data