Techniques for exploring supervised, unsupervised, and reinforcement learning models with Python and R