Problem 1: Machine learning models often perform poorly if the data features are on completely different scales (e.g., Age ranging from 20-60, but Salary ranging from $40,000-$120,000). Create a small dataset and use StandardScaler to normalize the data so the features are on a level playing field.

Problem 2: Create a simple 2D array representing “Years of Experience” and a 1D array representing “Salary”. Train a LinearRegression model to learn the relationship between the two, and then predict the expected salary for a new employee with exactly 5 years of experience.

Problem 3: Load scikit-learn’s built-in Iris flower dataset. You need to split this data so that 80% is used to train a K-Nearest Neighbors (KNN) classification model, and 20% is held back to test it. Predict the species of the test flowers and calculate the model’s accuracy.