Handle corner case of empty examples, no values for a feature in a sample, more intelligently