Functional Analysis Of Generalized Linear Models Under Nonlinear Constraints With Artificial Intelligence And Machine Learning Applications To The Sciences