MCPcopy Create free account
hub / github.com/MIT-SPARK/Clio / plot_requery_weights

Function plot_requery_weights

clio_batch/cluster_plotting.py:10–17  ·  view source on GitHub ↗

Plot requery weight values.

(ws, picker)

Source from the content-addressed store, hash-verified

8
9
10def plot_requery_weights(ws, picker):
11 """Plot requery weight values."""
12 fig, ax = plt.subplots()
13 weights = [x[1] for x in ws.history]
14 ax.plot(weights)
15 ax.set_xlabel("Iterations")
16 ax.set_ylabel("Utility")
17 plt.show()
18
19
20def plot_ib_weights(ws, picker):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected