A Grid Based Analysis Approach for Learning From Sparse Data