Weak Form Learning for Mean-Field Partial Differential Equations: an Application to Insect Movement