io.predictor.v1.DunaCounter
See theDunaCounter companion object
final case class DunaCounter(requests: Long, bids: Long, totalPrice: Double, avgPrice: Double, bidRate: Double, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[DunaCounter]
Per-(request, bidder) DUNA density snapshot — the fast market-reactivity signal bid_rate consumes. Only the primitive counters cross the wire; the derived features the model uses (avg_price = total_price / requests, bid_rate = bids / requests, both 0 when requests == 0) are computed inside the Predictor so they always match how they were derived at training time.
Purpose-built for the serving contract and intentionally NOT reusing io.bidmachine.protobuf.ml.v1.DunaBidDensity (a logging/auction-event type): the request and logging schemas evolve on independent lifecycles.
Value parameters
- avgPrice
-
average price
- bidRate
-
bid rate
- bids
-
bid responses received
- requests
-
bid requests sent to this bidder
- totalPrice
-
sum of bid prices
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Updatable[DunaCounter]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article