ai.libs.mlplan.safeguard.AlwaysPreventSafeGuardFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mlplan-core Show documentation
Show all versions of mlplan-core Show documentation
This project provides an implementation of the AutoML tool ML-Plan.
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();
}
}