Package org.kie.kogito.explainability
Class ConversionUtils
java.lang.Object
org.kie.kogito.explainability.ConversionUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<NamedTypedValue>fromFeatureList(List<org.kie.kogito.explainability.model.Feature> features) static List<NamedTypedValue>fromOutputs(List<org.kie.kogito.explainability.model.Output> outputs) toFeatureConstraintList(Collection<CounterfactualSearchDomain> searchDomains) static org.kie.kogito.explainability.model.domain.FeatureDomainstatic List<org.kie.kogito.explainability.model.domain.FeatureDomain>toFeatureDomainList(Collection<CounterfactualSearchDomain> searchDomains) static List<org.kie.kogito.explainability.model.Feature>toFeatureList(Collection<? extends HasNameValue<org.kie.kogito.tracing.typedvalue.TypedValue>> values) static List<org.kie.kogito.explainability.model.Feature>toFeatureList(Collection<? extends HasNameValue<org.kie.kogito.tracing.typedvalue.TypedValue>> values, Collection<CounterfactualSearchDomain> searchDomains) static List<org.kie.kogito.explainability.model.Output>toOutputList(io.vertx.core.json.JsonObject mainObj) static List<org.kie.kogito.explainability.model.Output>toOutputList(Collection<? extends HasNameValue<org.kie.kogito.tracing.typedvalue.TypedValue>> values)
-
Constructor Details
-
ConversionUtils
public ConversionUtils()
-
-
Method Details
-
toFeatureList
public static List<org.kie.kogito.explainability.model.Feature> toFeatureList(Collection<? extends HasNameValue<org.kie.kogito.tracing.typedvalue.TypedValue>> values, Collection<CounterfactualSearchDomain> searchDomains) -
toFeatureList
public static List<org.kie.kogito.explainability.model.Feature> toFeatureList(Collection<? extends HasNameValue<org.kie.kogito.tracing.typedvalue.TypedValue>> values) -
toOutputList
public static List<org.kie.kogito.explainability.model.Output> toOutputList(Collection<? extends HasNameValue<org.kie.kogito.tracing.typedvalue.TypedValue>> values) -
toFeatureDomainList
public static List<org.kie.kogito.explainability.model.domain.FeatureDomain> toFeatureDomainList(Collection<CounterfactualSearchDomain> searchDomains) -
toFeatureDomain
public static org.kie.kogito.explainability.model.domain.FeatureDomain toFeatureDomain(CounterfactualSearchDomainValue domain) -
toFeatureConstraintList
public static List<Boolean> toFeatureConstraintList(Collection<CounterfactualSearchDomain> searchDomains) -
toOutputList
public static List<org.kie.kogito.explainability.model.Output> toOutputList(io.vertx.core.json.JsonObject mainObj) -
fromFeatureList
public static List<NamedTypedValue> fromFeatureList(List<org.kie.kogito.explainability.model.Feature> features) -
fromOutputs
public static List<NamedTypedValue> fromOutputs(List<org.kie.kogito.explainability.model.Output> outputs)
-