Ruby library for cross-validating classifiers (very rough, just extracted from other projects)