Is there any difference bwtween PCA in qiskit.aqua and PCA in sklearn?
I am working on a data set and did some dimensional reduction on it (using sklearn) to be able to use it in qiskit (near term Quantum computers). But I just found out that there is already a utility in qiskit.aqua that does PCA, so is it better using the qiskit one since I am gonna deal with it in the rest of the program, or it dose not matter?
reduce_dim_to_via_pca
and click [source], you will find thatqiskit.aqua.utils.reduce_dim_to_via_pca(x, dim)
is identical tosklearn.decompositions.PCA(n_components=dim).fit_transform(x)
as of 0.31.0. $\endgroup$