Character is doing the right thing when nobody's looking. There are too many people who think that the only thing that's right is to get by, and the only thing that's wrong is to get caught.
In the context of computational learning, the concept of 'probably approximately correct' (PAC) learning provides a framework for understanding the efficiency and feasibility of learning algorithms.