Using sklearn with complex values
Thank you for your answers. Actually the imaginary numbers doesn't represent anything in particular to me. Indeed, I am performing a k-means on the eigenvalues of the laplacian matrix of my dataset. I tried to use the absolute value. The thing is the more the number of clusters is important, the greater the inertia will be. Then, I have an increasing inertia with the elbow method. Is it normal ?
I am trying to perform a kmeans in Python using scikit-learn. The thing is my data are complex values and Python doesn't like it.
Is there any mean to use sklearn with complex values ?