use of org.kie.kogito.explainability.local.lime.optim.RecordingLimeExplainer in project kogito-apps by kiegroup.
the class LimeExplainerProducer method produce.
@Produces
public LimeExplainer produce() {
LOG.debug("LimeExplainer created (numberOfSamples={}, numberOfPerturbations={})", numberOfSamples, numberOfPerturbations);
LimeConfig limeConfig = new LimeConfig().withSamples(numberOfSamples).withPerturbationContext(new PerturbationContext(new SecureRandom(), numberOfPerturbations));
return new RecordingLimeExplainer(limeConfig, recordedPredictions);
}
Aggregations