Training a Neural Network
4 views (last 30 days)
Is it possible to use string data to train a NN? I am trying to use 'labels' obtained from a previous network that labels an image. I want to use this data to predict the image. When I am using th is data it is stating it has to be a numerical/logical value.
Seth Furman on 18 Mar 2021
To add to Olof's answer, the categorical type allows you to efficiently represent a finite set of discrete categories that you might otherwise represent with strings.
Take a look at the following example from the documentation demonstrating how to make predictions using categorical features.