Semi Supervised Learning Code