Class/Object

com.microsoft.ml.spark.vw

VowpalWabbitRegressor

Related Docs: object VowpalWabbitRegressor | package vw

Permalink

class VowpalWabbitRegressor extends BaseRegressor[Row, VowpalWabbitRegressor, VowpalWabbitRegressionModel] with VowpalWabbitBase

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

Instance Constructors

  1. new VowpalWabbitRegressor()

    Permalink
  2. new VowpalWabbitRegressor(uid: String)

    Permalink

Type Members

  1. implicit class ParamStringBuilder 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. val additionalFeatures: StringArrayParam

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

    Permalink
    Definition Classes
    Wrappable
  7. val args: Param[String]

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

    Permalink
    Definition Classes
    Any
  9. final def clear(param: Param[_]): VowpalWabbitRegressor.this.type

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def fit(dataset: Dataset[_]): VowpalWabbitRegressionModel

    Permalink
    Definition Classes
    Predictor → Estimator
  25. def fit(dataset: Dataset[_], paramMaps: Array[ParamMap]): Seq[VowpalWabbitRegressionModel]

    Permalink
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" )
  26. def fit(dataset: Dataset[_], paramMap: ParamMap): VowpalWabbitRegressionModel

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

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

    Permalink
    Definition Classes
    Params
  29. def getAdditionalFeatures: Array[String]

    Permalink
    Definition Classes
    HasAdditionalFeatures
  30. def getArgs: String

    Permalink
    Definition Classes
    VowpalWabbitBase
  31. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Params
  33. final def getFeaturesCol: String

    Permalink
    Definition Classes
    HasFeaturesCol
  34. def getHashSeed: Int

    Permalink
    Definition Classes
    VowpalWabbitBase
  35. def getIgnoreNamespaces: String

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

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

    Permalink
    Definition Classes
    VowpalWabbitBase
  38. def getL1: Double

    Permalink
    Definition Classes
    VowpalWabbitBase
  39. def getL2: Double

    Permalink
    Definition Classes
    VowpalWabbitBase
  40. final def getLabelCol: String

    Permalink
    Definition Classes
    HasLabelCol
  41. def getLearningRate: Double

    Permalink
    Definition Classes
    VowpalWabbitBase
  42. def getNumBits: Int

    Permalink
    Definition Classes
    VowpalWabbitBase
  43. def getNumPasses: Int

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

    Permalink
    Definition Classes
    Params
  45. def getParam(paramName: String): Param[Any]

    Permalink
    Definition Classes
    Params
  46. def getPowerT: Double

    Permalink
    Definition Classes
    VowpalWabbitBase
  47. final def getPredictionCol: String

    Permalink
    Definition Classes
    HasPredictionCol
  48. def getWeightCol: String

    Permalink

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

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

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

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

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

    Permalink
    Definition Classes
    VowpalWabbitBase
  54. val initialModel: ByteArrayParam

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    VowpalWabbitBase
  63. val l2: DoubleParam

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

    Permalink
    Definition Classes
    HasLabelCol
  65. val learningRate: DoubleParam

    Permalink
    Definition Classes
    VowpalWabbitBase
  66. def log: Logger

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  81. val numBits: IntParam

    Permalink
    Definition Classes
    VowpalWabbitBase
  82. val numPasses: IntParam

    Permalink
    Definition Classes
    VowpalWabbitBase
  83. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  84. val powerT: DoubleParam

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

    Permalink
    Definition Classes
    HasPredictionCol
  86. def save(path: String): Unit

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

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

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

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

    Permalink
    Definition Classes
    HasAdditionalFeatures
  91. def setArgs(value: String): VowpalWabbitRegressor.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  92. final def setDefault(paramPairs: ParamPair[_]*): VowpalWabbitRegressor.this.type

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  94. def setFeaturesCol(value: String): VowpalWabbitRegressor

    Permalink
    Definition Classes
    Predictor
  95. def setHashSeed(value: Int): VowpalWabbitRegressor.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  96. def setIgnoreNamespaces(value: String): VowpalWabbitRegressor.this.type

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

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

    Permalink
    Definition Classes
    VowpalWabbitBase
  99. def setL1(value: Double): VowpalWabbitRegressor.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  100. def setL2(value: Double): VowpalWabbitRegressor.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  101. def setLabelCol(value: String): VowpalWabbitRegressor

    Permalink
    Definition Classes
    Predictor
  102. def setLearningRate(value: Double): VowpalWabbitRegressor.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  103. def setNumBits(value: Int): VowpalWabbitRegressor.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  104. def setNumPasses(value: Int): VowpalWabbitRegressor.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  105. def setPowerT(value: Double): VowpalWabbitRegressor.this.type

    Permalink
    Definition Classes
    VowpalWabbitBase
  106. def setPredictionCol(value: String): VowpalWabbitRegressor

    Permalink
    Definition Classes
    Predictor
  107. def setWeightCol(value: String): VowpalWabbitRegressor.this.type

    Permalink

    Definition Classes
    HasWeightCol
  108. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink
    Definition Classes
    VowpalWabbitRegressor → Predictor
  111. 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
  112. def trainInternalDistributed(df: DataFrame, vwArgs: StringBuilder, numWorkers: Int): Array[TrainingResult]

    Permalink

    Setup spanning tree and invoke training.

    Setup spanning tree and invoke training.

    df

    input data.

    vwArgs

    VW command line arguments.

    numWorkers

    number of target workers.

    Attributes
    protected
    Definition Classes
    VowpalWabbitBase
  113. def transformSchema(schema: StructType): StructType

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

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

    Permalink
    Definition Classes
    VowpalWabbitRegressor → Identifiable
  116. def validateAndTransformSchema(schema: StructType, fitting: Boolean, featuresDataType: DataType): StructType

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

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

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

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

    Permalink

    The name of the weight column

    The name of the weight column

    Definition Classes
    HasWeightCol
  121. def write: MLWriter

    Permalink
    Definition Classes
    DefaultParamsWritable → MLWritable

Inherited from VowpalWabbitBase

Inherited from HasAdditionalFeatures

Inherited from HasWeightCol

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from Wrappable

Inherited from Regressor[Row, VowpalWabbitRegressor, VowpalWabbitRegressionModel]

Inherited from Predictor[Row, VowpalWabbitRegressor, VowpalWabbitRegressionModel]

Inherited from PredictorParams

Inherited from HasPredictionCol

Inherited from HasFeaturesCol

Inherited from HasLabelCol

Inherited from Estimator[VowpalWabbitRegressionModel]

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