I am trying to solve some problems of machine learning using neural networks, mainly with the evolution of NEAT (NeuroEvolution of Augmented Topologies).
Some of my input variables are continuous, but some of them are categorical, for example:
- Species: {Lion, Leopard, Tiger, Jaguar}
- Affiliates: {Health, Insurance, Finance, IT, Advertising}
At first I wanted to simulate such a variable by comparing categories with discrete numbers, for example:
{Leo: 1, Leopard: 2, Tiger: 3, Jaguar: 4}
But I'm afraid that adds some kind of arbitrary topology to the variable. A tiger is not the sum of a lion and a leopard.
What approaches to this problem are usually used?
enums neural-network
cheeesus
source share