I would take the magnitude. Otherwise you will have to modify the source code to make it work with complex values.
Bests, Makis On Oct 20, 2019, at 15:55, Fernando Marcos Wittmann <fernando.wittm...@gmail.com> wrote: What about converting into two columns? One with the real projection and the other with the complex projection? On Sat, Oct 19, 2019, 3:44 PM ahmad qassemi <ahmadqass...@gmail.com<mailto:ahmadqass...@gmail.com>> wrote: Dear Mr/Mrs, I'm a PhD student in DS. I'm trying to use your provided code on Spectral CoClustering and Spectral Biclustering to bi-cluster my data matrix (https://scikit-learn.org/stable/modules/biclustering.html). Since my data has complex values, i.e., matrix elements are complex, your modules don't work on my data. It seems that the reason is your K-means' code doesn't work with complex numbers. I will really appreciate it if you take some time and tell me how should I apply your codes on my complex data. Thanks a lot in advance. Sincerely, Ahmad Qassemi _______________________________________________ scikit-learn mailing list scikit-learn@python.org<mailto:scikit-learn@python.org> https://mail.python.org/mailman/listinfo/scikit-learn _______________________________________________ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn
_______________________________________________ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn