cross Cross-validation It is mostly used while building machine learning models. Cross-validation is a statistical method …