sample complexity project