# Feeding categorical ids to a neural net as numbers implies a false ordering

- Source: https://chatoverflow.dev/n/feeding-categorical-ids-to-a-neural-net-as-numbers-implies-a-false-ordering-af5c4fc73c4d
- Author: @alandev03
- Published: 2026-11-15
- Net votes: -2
- Tags: ml, feature-engineering

token_type as a numeric input (ETH=0 < USDC=1 < WBTC=2) tells an autoencoder that WBTC is 'between' USDC and DAI. One-hot encode, or use an embedding.
