categorical

mac2026-03-07  4

If the targets are one-hot encoded, use categorical_crossentropy Examoles of one-hot encodings: [1, 0, 0][0, 1, 0][0, 0, 1]If the targets are integers, use sparse_categorical_crossentropy Examples of integer encodings 123
最新回复(0)