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

Function plot_ib_weights

clio_batch/cluster_plotting.py:20–28  ·  view source on GitHub ↗

Plot IB weight values.

(ws, picker)

Source from the content-addressed store, hash-verified

18
19
20def plot_ib_weights(ws, picker):
21 """Plot IB weight values."""
22 fig, ax = plt.subplots(2, sharex=True)
23 ax[0].plot(picker.deltas)
24 ax[0].set_ylabel("delta(m)")
25 ax[1].plot(picker.betas)
26 ax[1].set_ylabel("Beta")
27 ax[0].set_xlabel("Iterations")
28 plt.show()
29
30
31def draw_clusters(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected