Sample data learning