Visit ComfyUI Online for ready-to-use ComfyUI environment
Analyze and visualize statistical properties of latent variables in a batch, including Shapiro-Wilk test, mean, and standard deviation.
The Latent Batch Statistics Plot node is designed to analyze and visualize the statistical properties of a batch of latent variables. This node performs a Shapiro-Wilk test on each latent in the batch to assess how closely each latent follows a normal distribution. Additionally, it calculates the mean and standard deviation for each latent. The results are then plotted in a comprehensive figure that includes subplots for the Shapiro-Wilk test p-values, the means, and the standard deviations of the latents. This visualization helps you understand the distribution and variability of the latents in your batch, providing valuable insights for further analysis or adjustments in your AI art generation process.
This parameter represents the batch of latent variables that you want to analyze. The batch should be in the form of a tensor, where each element in the batch is a latent variable. The node will process each latent in the batch individually to compute the necessary statistics. The batch parameter is required for the node to function correctly.
This output parameter provides the generated plot as an image. The plot includes three subplots: one for the Shapiro-Wilk test p-values, one for the means of each latent, and one for the standard deviations of each latent. This image helps you visualize the statistical properties of the latents in your batch, making it easier to interpret and analyze the results.
© Copyright 2024 RunComfy. All Rights Reserved.