Try it in Python
Cell 1
Import NumPy, matplotlib, and scikit-learn: dataset, model, train/test split, and metrics.
Cell 2
Load the wine dataset and inspect its shape, classes, and feature names.
Cell 3
Split into training and test sets (25% test, fixed seed).
Cell 4
Fit `LogisticRegression` and print the learned coefficients for the first few features.
Cell 5
Predict on the test set, print accuracy, and plot the confusion matrix.