Skip to content

MCA --> show_rows and label visualization #168

Answered by MaxHalford
SodaMaremLo asked this question in Q&A
Discussion options

You must be logged in to vote

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!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@SodaMaremLo
Comment options

@JmonkG
Comment options

@JmonkG
Comment options

Answer selected by SodaMaremLo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants