Data Science, Machine Learning, Artificial Intelligence, Technology, Data Mining.
Applying Kaiser Criterion kaiser_criterion = eigenvalues > 1 # Get the number of components that satisfy the Kaiser Criterion n_components_kaiser = sum(kaiser_criterion) # Print the components that satisfy the criterion print(f"Number of components with eigenvalue > 1: {n_components_kaiser}")