@@ -0,0 +1,1284 @@
+/**%0A    This file is part of JkernelMachines.%0A%0A    JkernelMachines is free software: you can redistribute it and/or modify%0A    it under the terms of the GNU General Public License as published by%0A    the Free Software Foundation, either version 3 of the License, or%0A    (at your option) any later version.%0A%0A    JkernelMachines is distributed in the hope that it will be useful,%0A    but WITHOUT ANY WARRANTY; without even the implied warranty of%0A    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A    GNU General Public License for more details.%0A%0A    You should have received a copy of the GNU General Public License%0A    along with JkernelMachines.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A%0A    Copyright David Picard - 2014%0A%0A */%0Apackage fr.lip6.jkernelmachines.evaluation;%0A%0A/**%0A * Interface for crossvalidation classes that can balance the number of sample%0A * per class while computing the splits.%0A * %0A * @author picard%0A * %0A */%0Apublic interface BalancedCrossValidation %7B%0A%09%0A%0A%09/**%0A%09 * Returns true if the splits are balanced between positive and negative%0A%09 * @return%0A%09 */%0A%09public boolean isBalanced();%0A%0A%0A%09/**%0A%09 * Set class balancing strategy when computing the splits%0A%09 * @param balanced true if enables balancing%0A%09 */%0A%09public void setBalanced(boolean balanced);%0A%0A%0A%7D%0A

add interface for balanced CV