ai.libs.mlplan.safeguard.AlwaysEvaluateSafeGuardFactory 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 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();
}
}