Managing the Risk of Learning