Supervision of the infection in an si (Si-rc) epidemic model by using a test loss function to update the vaccination and treatment controls