class PredictionBufferKeep extends PredictionBuffer
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PredictionBufferKeep
- PredictionBuffer
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PredictionBufferKeep(predictionSchema: StructType, predictionFunc: VowpalWabbitPredictionToSeqFunc, inputSchema: StructType, predictionIdCol: String)
Value Members
-
def
append(inputRow: Row, prediction: AnyRef): Unit
- Definition Classes
- PredictionBufferKeep → PredictionBuffer
- val predictionIdIdx: Int
- val predictions: ListBuffer[Row]
-
def
result(model: Array[Byte]): Seq[Row]
- returns
First row has the model (and nothing else), remaining rows have predictions and no model
- Definition Classes
- PredictionBufferKeep → PredictionBuffer
-
def
schema: StructType
- Definition Classes
- PredictionBufferKeep → PredictionBuffer