Description
As in sklearn.decomposition.PCA, where:
if 0 < n_components < 1 select the number of components such that the amount of variance that needs to be explained is greater than the percentage specified by n_components
it would be useful to have a similar behavior with the k parameter in pyspark.ml.feature.PCA.