Cross-validation on gaussian process

See if the answer in this thread helps.