A medical diagnosis system uses machine learning to analyse patient symptoms and medical images for disease detection.
(a) the role of the training data, the validation data and the test data when developing the diagnosis model.
(b) overfitting and underfitting, giving an example of how each could occur in the diagnosis model.