[2304.14088] Hyperparameter optimization of orthogonal functions in the numerical solution of differential equations