def visualize_model_init(self):
"""smpSHL.visualize_model_init
Init model visualization
"""
self.Ridx = np.random.choice(self.modelsize, min(30, int(self.modelsize * 0.1)))
self.Rhist = []
self.losshist = []
self.Whist = []
fig = make_figure()
# print "fig", fig
self.figs.append(fig)
gs = make_gridspec(5, 1)
for subplot in gs:
self.figs[0].add_subplot(subplot)
评论列表
文章目录