> ## Documentation Index
> Fetch the complete documentation index at: https://shapely.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Decoder

>  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. 

<Note>
  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.
</Note>

<a href="/images/ML/Decoder.png" target="_blank">
  <img src="https://mintcdn.com/shapely/asBiXHBRV0o--5dI/images/ML/Decoder.png?fit=max&auto=format&n=asBiXHBRV0o--5dI&q=85&s=18235ea92d1e974685e36e0de31ef62d" className="pointer-events-none" style={{ borderRadius: '0.5rem', border: '1px solid rgba(0,0,0,0.1)' }} width="2133" height="1046" data-path="images/ML/Decoder.png" />
</a>
