data science and machine learning snippets