Class ConversionUtils

java.lang.Object
org.kie.kogito.explainability.ConversionUtils

public class ConversionUtils extends Object
  • 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)