Repository /TunedIT/core.jar:org.tunedit.core.exception.EvaluationSetupException


Back

No file description

Source code

/*
 *  Copyright (C) 2009 by TunedIT. All rights reserved.
 *
 */
package org.tunedit.core.exception;

/**
 * <p>This exception should be raised by {@link #EvaluationProcedure}
 * when evaluation is generally not executable for the given test specification,
 * no matter if the algorithm itself is correct or not,
 * and would <i>never</i> succeed, even in a different environment or with different outcomes of 
 * random number generators used internally by algorithm or evaluation procedure.
 * Typically, this is caused by incompatibility of the algorithm and/or dataset
 * with evaluation procedure.
 * </p>
 * <p>
 * If you are not sure whether the failure of evaluation
 * should be attributed to the algorithm or to the experimental setup,
 * it is best to ask whether the evaluation should ever succeed
 * for this algorithm and dataset, e.g., on a different hardware
 * (larger memory etc.), for a different split of data samples and so on;
 * and whether the algorithm is suitable for the given type of data.
 * If not, EvaluationSetupException should be thrown.
 * AlgorithmErrorException otherwise.
 * </p>
 * 
 * @see AlgorithmErrorException
 * 
 * @author Marcin Wojnarski
 *
 */
public class EvaluationSetupException extends EvaluationException {

	public EvaluationSetupException() {
		super();
	}

	public EvaluationSetupException(String msg) {
		super(msg);
	}

	public EvaluationSetupException(Throwable cause) {
		super(cause);
	}

	public EvaluationSetupException(String msg, Throwable cause) {
		super(msg, cause);
	}

}

Copyright © 2008-2011 by TunedIT
Design by luksite