Current situation: I typed the PCA script into paiza(beta), but the following error occurred and I couldn't run it.
File "Main.py", line 6
d_pca<-prcomp(coil20[,-ncol(coil20)], scale=TRUE)
^
SyntaxError: invalid syntax
Final Objective: We would like to get results as shown in the link below.*The desired image is also included in this question.
https://blog.albert2005.co.jp/2015/12/02/tsne/
I will write down the current state in an image so that it is easy to understand.
The final image is as follows.
environment:OS windows 10
python 3.8
After changing the language settings, I was able to execute it. It seems that the problem was that Python code was written on the basis of R language
© 2024 OneMinuteCode. All rights reserved.