Problem 1 1 Load Wine Dataset Sklearn Use Loadwine 2 Scale Attributes Using Standardscale Q37055905

Problem 1:

1. Load the wine dataset from sklearn (use load_wine).

2. Scale attributes using StandardScaler

3. Use 70% data for training.

4. Make prediction on the 30% data using KNN.

5. Print the F1 score (only) for each class


Solution


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.