MaxHalford / prince

:crown: Multivariate exploratory data analysis in Python — PCA, CA, MCA, MFA, FAMD, GPA
https://maxhalford.github.io/prince
MIT License
1.27k stars 184 forks source link

Problem with transform method in FAMD #134

Closed scardon1 closed 1 year ago

scardon1 commented 1 year ago
    Hello. 

I tried to run the same code as you and I got an error:

ValueError: shapes (1,4) and (6,4) not aligned: 4 (dim 1) != 6 (dim 0)

Any ideas why does this happen?

Originally posted by @wayfarer91-tog in https://github.com/MaxHalford/prince/issues/72#issuecomment-571749305

MaxHalford commented 1 year ago

Hello there 👋

I apologise for not answering earlier. I was not maintaining Prince anymore. However, I have just refactored the entire codebase. This refactoring should have fixed many bugs.

I don’t have time and energy to check if this fixes your issue, but there is a good chance it does. Feel free to reopen this issue if the problem persists after installing the new version — that is, version 0.8.0 and onwards.