mllf.cb.graph

Graph structure for contextual bandit.

Placed here so CB code can evolve independently while keeping the same interface (Graph, EdgeCoeffs) used by the tests and helpers.

Classes

EdgeCoeffs([linear, quadratic, skew, end])

Graph(num_nodes)

Simple undirected graph with coefficients on edges.