Decoder requires the same encoding mapping that was used during the Encoder step. Always keep the Encoder and Decoder paired together in your workflow to ensure correct label restoration.
Decoder converts numerical values back into their original categorical (text-based) labels. It reverses the encoding process, transforming numbers like “0, 1, 2” back into labels like “Residential”, “Commercial”, “Industrial”.
Use Decoder after model prediction to interpret the results in readable form.