1. Data
Banknote images become four numerical signals
The dataset starts as genuine and forged banknote-like specimens. A wavelet transform turns each image into variance, skewness, curtosis, and entropy, then the notebook splits those rows into 80% training and 20% testing.
X = df.iloc[:, 0:4].values
y = df.iloc[:, 4].values.reshape(-1, 1)
X_train, X_test, y_train, y_test = train_test_split(
X, y, test_size=0.2, random_state=42
)