Machine Learning, Linear Regression, Data Science, Artificial Intelligence.
diabetes.target # Split the dataset into training and testing sets X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42) # Standardize the data separately for training and testing sets scaler = StandardScaler() X_train_scaled = scaler.fit_transform(X_train)