Class/Object

com.microsoft.ml.spark.vw

VowpalWabbitContextualBandit

Related Docs: object VowpalWabbitContextualBandit | package vw

Permalink

class VowpalWabbitContextualBandit extends Predictor[Row, VowpalWabbitContextualBandit, VowpalWabbitContextualBanditModel] with VowpalWabbitContextualBanditBase with HasParallelismInjected with ComplexParamsWritable

Annotations
@InternalWrapper()
Linear Supertypes
ComplexParamsWritable, MLWritable, HasParallelismInjected, HasParallelism, VowpalWabbitContextualBanditBase, VowpalWabbitBase, HasAdditionalFeatures, HasWeightCol, Wrappable, HasAdditionalPythonMethods, Predictor[Row, VowpalWabbitContextualBandit, VowpalWabbitContextualBanditModel], PredictorParams, HasPredictionCol, HasFeaturesCol, HasLabelCol, Estimator[VowpalWabbitContextualBanditModel], PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VowpalWabbitContextualBandit
  2. ComplexParamsWritable
  3. MLWritable
  4. HasParallelismInjected
  5. HasParallelism
  6. VowpalWabbitContextualBanditBase
  7. VowpalWabbitBase
  8. HasAdditionalFeatures
  9. HasWeightCol
  10. Wrappable
  11. HasAdditionalPythonMethods
  12. Predictor
  13. PredictorParams
  14. HasPredictionCol
  15. HasFeaturesCol
  16. HasLabelCol
  17. Estimator
  18. PipelineStage
  19. Logging
  20. Params
  21. Serializable
  22. Serializable
  23. Identifiable
  24. AnyRef
  25. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VowpalWabbitContextualBandit()

    Permalink
  2. new VowpalWabbitContextualBandit(uid: String)

    Permalink

Type Members

  1. implicit class ParamStringBuilder extends AnyRef

    Permalink
    Definition Classes
    VowpalWabbitBase
  2. class TrainContext extends AnyRef

    Permalink
    Definition Classes
    VowpalWabbitBase

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def addExtraArgs(args: StringBuilder): Unit

    Permalink

    * Allow subclasses to add further arguments

    * Allow subclasses to add further arguments

    args

    argument builder to append to

    Attributes
    protected
    Definition Classes
    VowpalWabbitContextualBanditVowpalWabbitBase
  6. val additionalFeatures: StringArrayParam

    Permalink
    Definition Classes
    HasAdditionalFeatures
  7. def additionalPythonMethods(): String

    Permalink
    Definition Classes
    HasAdditionalPythonMethods
  8. val additionalSharedFeatures: StringArrayParam

    Permalink
  9. val args: Param[String]

    Permalink
    Definition Classes
    VowpalWabbitBase
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def awaitFutures[T](futures: Array[Future[T]]): Seq[T]

    Permalink
    Attributes
    protected
    Definition Classes
    HasParallelismInjected
  12. val chosenActionCol: Param[String]

    Permalink
  13. final def clear(param: Param[_]): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    Params
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def copy(extra: ParamMap): VowpalWabbitContextualBandit

    Permalink
    Definition Classes
    VowpalWabbitContextualBandit → Predictor → Estimator → PipelineStage → Params
  16. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  17. def createLabelSetter(schema: StructType): (Row, VowpalWabbitExample) ⇒ Unit

    Permalink
    Attributes
    protected
    Definition Classes
    VowpalWabbitBase
  18. final def defaultCopy[T <: Params](extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  19. val epsilon: DoubleParam

    Permalink
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def explainParam(param: Param[_]): String

    Permalink
    Definition Classes
    Params
  23. def explainParams(): String

    Permalink
    Definition Classes
    Params
  24. def extractLabeledPoints(dataset: Dataset[_]): RDD[LabeledPoint]

    Permalink
    Attributes
    protected
    Definition Classes
    Predictor
  25. final def extractParamMap(): ParamMap

    Permalink
    Definition Classes
    Params
  26. final def extractParamMap(extra: ParamMap): ParamMap

    Permalink
    Definition Classes
    Params
  27. final val featuresCol: Param[String]

    Permalink
    Definition Classes
    HasFeaturesCol
  28. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. def fit(dataset: Dataset[_], paramMaps: Array[ParamMap]): Seq[VowpalWabbitContextualBanditModel]

    Permalink
    Definition Classes
    VowpalWabbitContextualBandit → Estimator
  30. def fit(dataset: Dataset[_]): VowpalWabbitContextualBanditModel

    Permalink
    Definition Classes
    Predictor → Estimator
  31. def fit(dataset: Dataset[_], paramMap: ParamMap): VowpalWabbitContextualBanditModel

    Permalink
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" )
  32. def fit(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): VowpalWabbitContextualBanditModel

    Permalink
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" ) @varargs()
  33. final def get[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  34. def getAdditionalColumns(): Seq[String]

    Permalink
    Attributes
    protected
    Definition Classes
    VowpalWabbitContextualBanditVowpalWabbitBase
  35. def getAdditionalFeatures: Array[String]

    Permalink
    Definition Classes
    HasAdditionalFeatures
  36. def getAdditionalSharedFeatures: Array[String]

    Permalink
  37. def getArgs: String

    Permalink
    Definition Classes
    VowpalWabbitBase
  38. def getAsFloat(schema: StructType, idx: Int): (Row) ⇒ Float

    Permalink
    Attributes
    protected
    Definition Classes
    VowpalWabbitBase
  39. def getChosenActionCol: String

    Permalink
  40. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  41. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  42. def getEpsilon: Double

    Permalink
  43. def getExecutionContextProxy: ExecutionContext

    Permalink
    Definition Classes
    HasParallelismInjected
  44. final def getFeaturesCol: String

    Permalink
    Definition Classes
    HasFeaturesCol
  45. def getHashSeed: Int

    Permalink
    Definition Classes
    VowpalWabbitBase
  46. def getIgnoreNamespaces: String

    Permalink
    Definition Classes
    VowpalWabbitBase
  47. def getInitialModel: Array[Byte]

    Permalink
    Definition Classes
    VowpalWabbitBase
  48. def getInteractions: Array[String]

    Permalink
    Definition Classes
    VowpalWabbitBase
  49. def getL1: Double

    Permalink
    Definition Classes
    VowpalWabbitBase
  50. def getL2: Double

    Permalink
    Definition Classes
    VowpalWabbitBase
  51. final def getLabelCol: String

    Permalink
    Definition Classes
    HasLabelCol
  52. def getLearningRate: Double

    Permalink
    Definition Classes
    VowpalWabbitBase
  53. def getNumBits: Int

    Permalink
    Definition Classes
    VowpalWabbitBase
  54. def getNumPasses: Int

    Permalink
    Definition Classes
    VowpalWabbitBase
  55. final def getOrDefault[T](param: Param[T]): T

    Permalink
    Definition Classes
    Params
  56. def getParallelism: Int

    Permalink
    Definition Classes
    HasParallelism
  57. def getParam(paramName: String): Param[Any]

    Permalink
    Definition Classes
    Params
  58. def getPowerT: Double

    Permalink
    Definition Classes
    VowpalWabbitBase
  59. final def getPredictionCol: String

    Permalink
    Definition Classes
    HasPredictionCol
  60. def getProbabilityCol: String

    Permalink
  61. def getSharedCol: String

    Permalink
  62. def getUseBarrierExecutionMode: Boolean

    Permalink
    Definition Classes
    VowpalWabbitBase
  63. def getWeightCol: String

    Permalink

    Definition Classes
    HasWeightCol
  64. final def hasDefault[T](param: Param[T]): Boolean

    Permalink
    Definition Classes
    Params
  65. def hasParam(paramName: String): Boolean

    Permalink
    Definition Classes
    Params
  66. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  67. val hashSeed: IntParam

    Permalink
    Definition Classes
    VowpalWabbitBase
  68. val ignoreNamespaces: Param[String]

    Permalink
    Definition Classes
    VowpalWabbitBase
  69. val initialModel: ByteArrayParam

    Permalink
    Definition Classes
    VowpalWabbitBase
  70. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  71. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  72. val interactions: StringArrayParam

    Permalink
    Definition Classes
    VowpalWabbitBase
  73. final def isDefined(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  74. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  75. final def isSet(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  76. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  77. val l1: DoubleParam

    Permalink
    Definition Classes
    VowpalWabbitBase
  78. val l2: DoubleParam

    Permalink
    Definition Classes
    VowpalWabbitBase
  79. final val labelCol: Param[String]

    Permalink
    Definition Classes
    HasLabelCol
  80. val learningRate: DoubleParam

    Permalink
    Definition Classes
    VowpalWabbitBase
  81. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  82. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  83. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  84. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  85. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  86. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  87. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  88. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  89. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  90. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  91. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  92. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  93. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  94. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  95. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  96. val numBits: IntParam

    Permalink
    Definition Classes
    VowpalWabbitBase
  97. val numPasses: IntParam

    Permalink
    Definition Classes
    VowpalWabbitBase
  98. def parallelFit(dataset: Dataset[_], paramMaps: ArrayList[ParamMap]): List[VowpalWabbitContextualBanditModel]

    Permalink
  99. val parallelism: IntParam

    Permalink
    Definition Classes
    HasParallelism
  100. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  101. val powerT: DoubleParam

    Permalink
    Definition Classes
    VowpalWabbitBase
  102. final val predictionCol: Param[String]

    Permalink
    Definition Classes
    HasPredictionCol
  103. val probabilityCol: Param[String]

    Permalink
  104. def save(path: String): Unit

    Permalink
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  105. final def set(paramPair: ParamPair[_]): VowpalWabbitContextualBandit.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  106. final def set(param: String, value: Any): VowpalWabbitContextualBandit.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  107. final def set[T](param: Param[T], value: T): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    Params
  108. def setAdditionalFeatures(value: Array[String]): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    HasAdditionalFeatures
  109. def setAdditionalSharedFeatures(value: Array[String]): VowpalWabbitContextualBandit.this.type

    Permalink
  110. def setArgs(value: String): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  111. def setChosenActionCol(value: String): VowpalWabbitContextualBandit.this.type

    Permalink
  112. final def setDefault(paramPairs: ParamPair[_]*): VowpalWabbitContextualBandit.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  113. final def setDefault[T](param: Param[T], value: T): VowpalWabbitContextualBandit.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  114. def setEpsilon(value: Double): VowpalWabbitContextualBandit.this.type

    Permalink
  115. def setFeaturesCol(value: String): VowpalWabbitContextualBandit

    Permalink
    Definition Classes
    Predictor
  116. def setHashSeed(value: Int): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  117. def setIgnoreNamespaces(value: String): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  118. def setInitialModel(value: Array[Byte]): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  119. def setInteractions(value: Array[String]): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  120. def setL1(value: Double): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  121. def setL2(value: Double): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  122. def setLabelCol(value: String): VowpalWabbitContextualBandit

    Permalink
    Definition Classes
    Predictor
  123. def setLearningRate(value: Double): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  124. def setNumBits(value: Int): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  125. def setNumPasses(value: Int): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  126. def setParallelismForParamListFit(value: Int): VowpalWabbitContextualBandit.this.type

    Permalink
  127. def setPowerT(value: Double): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  128. def setPredictionCol(value: String): VowpalWabbitContextualBandit

    Permalink
    Definition Classes
    Predictor
  129. def setProbabilityCol(value: String): VowpalWabbitContextualBandit.this.type

    Permalink
  130. def setSharedCol(value: String): VowpalWabbitContextualBandit.this.type

    Permalink
  131. def setUseBarrierExecutionMode(value: Boolean): VowpalWabbitContextualBandit.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  132. def setWeightCol(value: String): VowpalWabbitContextualBandit.this.type

    Permalink

    Definition Classes
    HasWeightCol
  133. val sharedCol: Param[String]

    Permalink
  134. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  135. def toString(): String

    Permalink
    Definition Classes
    Identifiable → AnyRef → Any
  136. def train(dataset: Dataset[_]): VowpalWabbitContextualBanditModel

    Permalink
    Attributes
    protected
    Definition Classes
    VowpalWabbitContextualBandit → Predictor
  137. def trainInternal[T <: VowpalWabbitBaseModel](dataset: Dataset[_], model: T): T

    Permalink

    Main training loop

    Main training loop

    dataset

    input data.

    returns

    binary VW model.

    Attributes
    protected
    Definition Classes
    VowpalWabbitBase
  138. def trainInternalDistributed(df: DataFrame, vwArgs: StringBuilder, numTasks: Int): Array[TrainingResult]

    Permalink

    Setup spanning tree and invoke training.

    Setup spanning tree and invoke training.

    df

    input data.

    vwArgs

    VW command line arguments.

    numTasks

    number of target tasks.

    Attributes
    protected
    Definition Classes
    VowpalWabbitBase
  139. def trainRow(schema: StructType, inputRows: Iterator[Row], ctx: TrainContext): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    VowpalWabbitContextualBanditVowpalWabbitBase
  140. def transformSchema(schema: StructType): StructType

    Permalink
    Definition Classes
    VowpalWabbitContextualBandit → Predictor → PipelineStage
  141. def transformSchema(schema: StructType, logging: Boolean): StructType

    Permalink
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  142. val uid: String

    Permalink
    Definition Classes
    VowpalWabbitContextualBandit → Identifiable
  143. val useBarrierExecutionMode: BooleanParam

    Permalink
    Definition Classes
    VowpalWabbitBase
  144. def validateAndTransformSchema(schema: StructType, fitting: Boolean, featuresDataType: DataType): StructType

    Permalink
    Attributes
    protected
    Definition Classes
    PredictorParams
  145. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  146. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  147. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  148. val weightCol: Param[String]

    Permalink

    The name of the weight column

    The name of the weight column

    Definition Classes
    HasWeightCol
  149. def write: MLWriter

    Permalink
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from ComplexParamsWritable

Inherited from MLWritable

Inherited from HasParallelismInjected

Inherited from HasParallelism

Inherited from VowpalWabbitBase

Inherited from HasAdditionalFeatures

Inherited from HasWeightCol

Inherited from Wrappable

Inherited from PredictorParams

Inherited from HasPredictionCol

Inherited from HasFeaturesCol

Inherited from HasLabelCol

Inherited from Estimator[VowpalWabbitContextualBanditModel]

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

param

setParam

Ungrouped