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

ai.libs.mlplan.safeguard.AlwaysPreventSafeGuardFactory 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 AlwaysPreventSafeGuardFactory implements IEvaluationSafeGuardFactory {

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

	@Override
	public IEvaluationSafeGuardFactory withEvaluator(final ISupervisedLearnerEvaluator> searchEvaluator) {
		return this;
	}

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy