def visualize_poisson_w(w, labels, filename, method='<STR_LIT>', figsize=(<NUM_LIT>,<NUM_LIT:10>), title='<STR_LIT>', **scatter_options):
if method == '<STR_LIT>':<EOL><INDENT>pca = PCA(<NUM_LIT:2>)<EOL>r_dim_red = pca.fit_transform(w.T).T<EOL><DEDENT>elif method == '<STR_LIT>':<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>print("<STR_LIT>")<EOL>return<EOL><DEDENT>visualize_dim_red(r_dim_red, labels, filename, figsize, title, **scatter_options)<EOL>
Saves a scatter plot of a visualization of W, the result from Poisson SE.