cloud.eppo.ufc.dto.BanditCoefficients Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-common-jvm Show documentation
Show all versions of sdk-common-jvm Show documentation
Eppo SDK for JVM shared library
package cloud.eppo.ufc.dto;
import java.util.Map;
public class BanditCoefficients {
private final String actionKey;
private final Double intercept;
private final Map subjectNumericCoefficients;
private final Map subjectCategoricalCoefficients;
private final Map actionNumericCoefficients;
private final Map actionCategoricalCoefficients;
public BanditCoefficients(
String actionKey,
Double intercept,
Map subjectNumericAttributeCoefficients,
Map subjectCategoricalAttributeCoefficients,
Map actionNumericAttributeCoefficients,
Map actionCategoricalAttributeCoefficients) {
this.actionKey = actionKey;
this.intercept = intercept;
this.subjectNumericCoefficients = subjectNumericAttributeCoefficients;
this.subjectCategoricalCoefficients = subjectCategoricalAttributeCoefficients;
this.actionNumericCoefficients = actionNumericAttributeCoefficients;
this.actionCategoricalCoefficients = actionCategoricalAttributeCoefficients;
}
public String getActionKey() {
return actionKey;
}
public Double getIntercept() {
return intercept;
}
public Map getSubjectNumericCoefficients() {
return subjectNumericCoefficients;
}
public Map getSubjectCategoricalCoefficients() {
return subjectCategoricalCoefficients;
}
public Map getActionNumericCoefficients() {
return actionNumericCoefficients;
}
public Map getActionCategoricalCoefficients() {
return actionCategoricalCoefficients;
}
}