Privacy Preserving-Based Artificial Intelligence for Precision Agriculture