ssorigin="anonymous"></script><!-- pkgdown --><link href="../pkgdown.css" rel="stylesheet"><script src="../pkgdown.js"></script><meta property="og:title" content="A datasource (DS) method to generate training and test sets — get_data"><meta property="og:description" content="This is a function that must be implemented by all DS objects. This method
should not be called directly but instead it is used internally by the
cross-validator (CV) object."><!-- mathjax --><script src="https://cdnjs.cloudflare.com/