// -------------------------------------------------------------------------------------------------------------------- // // Copyright (c) by respective owners including Yahoo!, Microsoft, and // individual contributors. All rights reserved. Released under a BSD // license as described in the file LICENSE. // // -------------------------------------------------------------------------------------------------------------------- namespace VW { /// /// Decision Service interaction header information. /// public sealed class VowpalWabbitDecisionServiceInteractionHeader { /// /// EventId extracted from Decision Service Interaction JSON data. /// public string EventId { get; set; } /// /// Actions extracted from Decision Service Interaction JSON data. /// public int[] Actions { get; set; } /// /// Probabilities extracted from Decision Service Interaction JSON data. /// public float[] Probabilities { get; set; } /// /// Probability of drop extracted from Decision Service Interaction JSON data. /// public float ProbabilityOfDrop { get; set; } /// /// Flag if the action should not be used for learning /// public bool SkipLearn { get; set; } } }