Great video. Thank you for making it:) It would've been interesting to plot the same, but coloring the dots using the original labels as well. Then we can see how well the groupings done using unsupervised learning compared to the original labels!!
Thanks for the kind comment, Ibrahim! Glad you liked the video. Before using PCA (Principal Component Analysis), it's assumed that linear relationships exist in the data and that the most important variance directions are the ones to focus on. For PCoA (Principal Coordinates Analysis), the assumption is that distances or dissimilarities between data points can meaningfully reflect their relationships. So it depends on your specific data whether to use PCA or PCoA. I hope this helps!
what if PC1 and PC2 only explain lets say 75% of variance? how would you proceed? is that enought or is it possible to somehow add PC3 and PC4 in the analysis? Great video btw 👍👍
Hey, thanks for the great feedback, glad you like the video! Regarding your question: Yes, you can definitely add more components (and usually this is what you would do with a realistic data set). You would just have to change the number in this line of code from 2 to whatever number of components you would like to keep: my_pca_data <- data.frame(my_pca$x[ , 1:2]) Please note that it might become more difficult to visualize your data when using more components. I hope that clarifies your question! Regards, Joachim
It's 3 a.m. and your channel saved my night! Now I can go to bed. Thanks!
Great video. Thank you for making it:) It would've been interesting to plot the same, but coloring the dots using the original labels as well. Then we can see how well the groupings done using unsupervised learning compared to the original labels!!
Thanks for the kind words and the nice idea! It would definitely be nice to visualize this comparison. Next time! :)
nicely done! 👌
Thank you so much, glad you like it! :)
muy interesante estimado practicare con su ejercicio y agradezco su video.
That's great to hear, Rodrigo! Glad the videos are helpful!
Error: unexpected invalid token in "my_pca
Please see my response to your other question.
hello can u make video how to apply multi condtion to all items for data frame and combine with and + or
i not find it on line
thanks
i mean apply condtion with and + or to alll items inside data frame
Thanks for the topic suggestion, I'll keep it in mind.
Thank you sir, i helps
You're most welcome! 🙂
when in performed this code with my data R showing "Error: unexpected invalid token in "my_pca" this any suggestion?
Hey, did you run the code exactly as demonstrated in the video?
@@StatisticsGlobe Yes as it is
That's weird, to be honest, I don't know why this is happening. On my side, everything works fine.
Great video. Thank you.
Is there any assumption before deciding to use PCA or PCoA?
Thanks for the kind comment, Ibrahim! Glad you liked the video. Before using PCA (Principal Component Analysis), it's assumed that linear relationships exist in the data and that the most important variance directions are the ones to focus on. For PCoA (Principal Coordinates Analysis), the assumption is that distances or dissimilarities between data points can meaningfully reflect their relationships. So it depends on your specific data whether to use PCA or PCoA. I hope this helps!
what if PC1 and PC2 only explain lets say 75% of variance? how would you proceed? is that enought or is it possible to somehow add PC3 and PC4 in the analysis?
Great video btw 👍👍
I think it still ok. However more PC becomes difficult for human perception of 3 or more dimensions.
Cheers!
Nice presentation
Hey, thanks for the great feedback, glad you like the video! Regarding your question: Yes, you can definitely add more components (and usually this is what you would do with a realistic data set). You would just have to change the number in this line of code from 2 to whatever number of components you would like to keep: my_pca_data <- data.frame(my_pca$x[ , 1:2]) Please note that it might become more difficult to visualize your data when using more components. I hope that clarifies your question! Regards, Joachim
thank you sir, but provide your script of code in notepad format ;; my suggestion only
Hey, thanks for your kind comment. I assume you could simply copy and paste the code from the description into notepad, couldn't you?
@@StatisticsGlobe I am telling in your channel space point of view, and other also convient ;; thank you for your response
please make video satellite data handle in R
Thanks for the topic suggestion! I'm not an expert on this, but it might be a nice topic for the future.