Making get_dataset() in regression utils use a global.