This is an implementation for HackerEarth Machine Learning challenge: Adopt a buddy. The following code resulted in a rank of 130 out of approximately 5000 participants. The kfold example is inspired from the book authored by abhishek-thakur named approaching-almost-any-machine-learning-problem.