Learning from Snapshots of Discrete and Continuous Data Streams