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

cloud.eppo.rac.dto.BanditLogData Maven / Gradle / Ivy

There is a newer version: 3.3.2
Show newest version
package cloud.eppo.rac.dto;

import java.util.Date;
import java.util.Map;

/** Assignment Log Data Class */
public class BanditLogData {
  private final Date timestamp;
  private final String experiment;
  private final String banditKey;
  private final String subject;
  private final String action;
  private final Double actionProbability;
  private final String modelVersion;
  private final Map subjectNumericAttributes;
  private final Map subjectCategoricalAttributes;
  private final Map actionNumericAttributes;
  private final Map actionCategoricalAttributes;

  public BanditLogData(
      String experiment,
      String banditKey,
      String subject,
      String action,
      Double actionProbability,
      String modelVersion,
      Map subjectNumericAttributes,
      Map subjectCategoricalAttributes,
      Map actionNumericAttributes,
      Map actionCategoricalAttributes) {
    this.timestamp = new Date();
    this.experiment = experiment;
    this.banditKey = banditKey;
    this.subject = subject;
    this.action = action;
    this.actionProbability = actionProbability;
    this.modelVersion = modelVersion;
    this.subjectNumericAttributes = subjectNumericAttributes;
    this.subjectCategoricalAttributes = subjectCategoricalAttributes;
    this.actionNumericAttributes = actionNumericAttributes;
    this.actionCategoricalAttributes = actionCategoricalAttributes;
  }

  public Date getTimestamp() {
    return timestamp;
  }

  public String getExperiment() {
    return experiment;
  }

  public String getBanditKey() {
    return banditKey;
  }

  public String getSubject() {
    return subject;
  }

  public String getAction() {
    return action;
  }

  public Double getActionProbability() {
    return actionProbability;
  }

  public String getModelVersion() {
    return modelVersion;
  }

  public Map getSubjectNumericAttributes() {
    return subjectNumericAttributes;
  }

  public Map getSubjectCategoricalAttributes() {
    return subjectCategoricalAttributes;
  }

  public Map getActionNumericAttributes() {
    return actionNumericAttributes;
  }

  public Map getActionCategoricalAttributes() {
    return actionCategoricalAttributes;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy