Use a list to help a categorical column in ML.NET

DJamin 386 Reputation points
2021-07-13T09:25:47.167+00:00

Dear experts,
I am using ML.NET and performing Text Classification.
For my purpose I use a simple example. I have 2 columns :

Feature -> col0 = some text
Label -> col1 = code number

The code number could be a part of a predefined set of values or not.
What I would like to do is to be able to pass my predefined list of values of col1 to help its prediction.

How can I give for each data entry this information during training?
And do I have to select Categorical in the Advanced data options for col1?

Best regards.

.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
156 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.