cosmo crossvalidate hdr

function [pred, accuracy] = cosmo_crossvalidate(ds, classifier, partitions, opt)