Foundations of Process/Product Analytics and Machine Learning