Online and Batch Learning Algorithms for Data with Missing Features