All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cloud.eppo.ufc.dto.BanditCoefficients Maven / Gradle / Ivy

There is a newer version: 3.3.2
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy