Basic machine learning algorithms and their applications