Forecasting the outcome of spintronic experiments with Neural Ordinary Differential Equations