Semi supervised learning fully implemented