Machine Learning, Technology, Data Analysis, Python, Data Science.
sklearn.preprocessing import StandardScaler from sklearn.decomposition import PCA from sklearn.manifold import TSNE # Load the Iris dataset data = load_iris() X = data.data y = data.target # Standardize the features (important for PCA) scaler = StandardScaler() X_scaled = scaler.fit_transform(X) #