All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.libs.mlplan.safeguard.AlwaysEvaluateSafeGuardFactory Maven / Gradle / Ivy

The newest version!
package ai.libs.mlplan.safeguard;

import org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset;
import org.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance;
import org.api4.java.ai.ml.core.evaluation.ISupervisedLearnerEvaluator;

public class AlwaysEvaluateSafeGuardFactory implements IEvaluationSafeGuardFactory {

	public AlwaysEvaluateSafeGuardFactory() {
		// nothing to do here
	}

	@Override
	public IEvaluationSafeGuardFactory withEvaluator(final ISupervisedLearnerEvaluator> searchEvaluator) {
		// nothing to do here
		return this;
	}

	@Override
	public IEvaluationSafeGuard build() throws Exception {
		return new AlwaysEvaluateSafeGuard();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy