Open grace3999 opened 2 years ago
Error when trying to create PCA biplot with target label. Following this tutorial: https://www.reneshbedre.com/blog/principal-component-analysis.html
pca_scores = PCA().fit_transform(X_st) cluster.biplot(cscore=pca_scores, loadings=loadings, labels=X.columns.values, var1=round(pca_out.explained_varianceratio[0]100, 2), var2=round(pca_out.explained_varianceratio[1]100, 2), colorlist=target)
NameError Traceback (most recent call last)
which version of bioinfokit you are using? Is it possible for you to share your data to replicate error?
Error when trying to create PCA biplot with target label. Following this tutorial: https://www.reneshbedre.com/blog/principal-component-analysis.html
pca_scores = PCA().fit_transform(X_st) cluster.biplot(cscore=pca_scores, loadings=loadings, labels=X.columns.values, var1=round(pca_out.explained_varianceratio[0]100, 2), var2=round(pca_out.explained_varianceratio[1]100, 2), colorlist=target)
NameError Traceback (most recent call last)