Use a continuous variant on Ankerl's adaptation of Schraudolph's algorithm with optimal RMSE.