Basic and advanced topics in machine learning and deep learning