matrix=confusion) # report 3d surface logger.report_surface("example_surface", "series1", iteration=1, matrix=confusion, xtitle='title X', ytitle='title Y', ztitle='title Z') # report 2d scatter plot scatter2d = np.hstack( (np.atleast_2d(np.arange(0, 10)).T, np.random.randint(10, size=(10, 1)))) logger.report_scatter2d("example_scatter", "series_xy", iteration=1, scatter=scatter2d) # report 3d scatter plot scatter3d = np.random.randint(10, size=(10, 3)) logger.report_scatter3d("example_scatter_3d", "series_xyz", iteration=1, scatter=scatter3d) # reporting images m = np.eye(256, 256, dtype=np.float) logger.report_image("test case", "image float", iteration=1, image=m) m = np.eye(256, 256, dtype=np.uint8) * 255 logger.report_image("test case", "image uint8", iteration=1, image=m) m = np.concatenate((np.atleast_3d(m), np.zeros((256, 256, 2), dtype=np.uint8)),
# report 3d surface logger.report_surface("example_surface", "series1", iteration=1, matrix=confusion, xaxis="title X", yaxis="title Y", zaxis="title Z") # report 2d scatter plot scatter2d = np.hstack( (np.atleast_2d(np.arange(0, 10)).T, np.random.randint(10, size=(10, 1)))) logger.report_scatter2d("example_scatter", "series_xy", iteration=1, scatter=scatter2d, xaxis="title x", yaxis="title y") # report 3d scatter plot scatter3d = np.random.randint(10, size=(10, 3)) logger.report_scatter3d("example_scatter_3d", "series_xyz", iteration=1, scatter=scatter3d, xaxis="title x", yaxis="title y", zaxis="title z") # reporting images m = np.eye(256, 256, dtype=np.float)