Scaling, Normalization, Support Vector Machine (2024-06-12)
1. 손글씨 데이터셋 from sklearn.datasets import load_digits digits = load_digits() digits.keys()dict_keys(['data', 'target', 'frame', 'feature_names', 'target_names', 'images', 'DESCR']) import matplotlib.pyplot as plt _, axes = plt.subplots(2,5, figsize=(14,8))for i, ax in enumerate(axes.flatten()): ax.imshow(data[i].reshape((8,8)), cmap='gray') ax.set_title(target[i]) 2. 스케일링(Scaling)* 데이터를 특..