Mathematics Behind Artificial Intelligence: From Deterministic Models to Probabilistic Learning | Synapse