Realisations of some ML algorithms (hometasks in CSC)