MCA --> show_rows and label visualization #168
Answered
by
MaxHalford
SodaMaremLo
asked this question in
Q&A
-
Is there an equivalent of PCA show_rows=False when plotting MCA? I would like to save an image without row variables, and with all the column labels visible |
Beta Was this translation helpful? Give feedback.
Answered by
MaxHalford
Oct 11, 2023
Replies: 1 comment 3 replies
-
Hey there @SodaMaremLo. I just implemented this as part of Prince 0.13.0. Here is an example: import prince
dataset = prince.datasets.load_french_elections()
ca = prince.CA(n_components=3)
ca.fit(dataset)
ca.plot(
dataset,
show_row_markers=True,
show_row_labels=False,
show_column_labels=True,
show_column_markers=False
) I hope this works for you! |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
SodaMaremLo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there @SodaMaremLo. I just implemented this as part of Prince 0.13.0. Here is an example:
I hope this works for you!