This program just illustrate the gradient descent optimization for two pixels patient as an example.
This link is An official document from Xio to give the detailed instruction of gradient descent optimization
https://github.com/fishdda/A-Two-pixel-example-for-Xio-optimization/blob/master/LRMXIO0006.pdf