Sequential Inference and Learning