Skip to content
Snippets Groups Projects
Commit 0e95085b authored by Dennis Noll's avatar Dennis Noll
Browse files

[plotting] introduces work aroung for plotting of single variable tensors

parent 942f9441
No related branches found
No related tags found
No related merge requests found
......@@ -280,7 +280,7 @@ def figure_inputs(
rows, cols = multiplot.lenghts()
size = 5
fig, ax = plt.subplots(rows, cols, figsize=(size * cols, size * rows))
ax = ax if isinstance(ax, np.ndarray) else np.array([ax])
inps = inps.reshape(inps.shape[0], -1)
inps = np.clip(inps, -overflow, overflow)
order = np.argsort(-(sample_weight[:, None] * truth).sum(axis=0))
......@@ -337,6 +337,7 @@ def figure_weight_study(
rows, cols = multiplot.lenghts()
size = 5
fig, ax = plt.subplots(rows, cols, figsize=(size * cols, size * rows))
ax = ax if isinstance(ax, np.ndarray) else np.array([ax])
class_inps = [inps.reshape(inps.shape[0], -1) for inps in class_inps]
for feat, name in enumerate(columns):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment