object VowpalWabbitUtil
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- VowpalWabbitUtil
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- def addFeaturesToExample(featureColIndices: Seq[NamespaceInfo], row: Row, ex: VowpalWabbitExample): Unit
- def generateNamespaceInfo(schema: StructType, hashSeed: Int, col: String): NamespaceInfo
-
def
generateNamespaceInfos(schema: StructType, hashSeed: Int, cols: Seq[String]): Array[NamespaceInfo]
Generate namespace info (hash, feature group, field index) for supplied columns.
Generate namespace info (hash, feature group, field index) for supplied columns.
- schema
data frame schema to lookup column indices.
- def prepareMultilineExample[T](row: Row, actionNamespaceInfos: Array[NamespaceInfo], sharedNamespaceInfos: Array[NamespaceInfo], exampleStack: ExampleStack, fun: (Array[VowpalWabbitExample]) ⇒ T): T