Library to generate a decision tree

Youssef picture Youssef · Jun 28, 2012 · Viewed 14.8k times · Source

Is there a C# Library to generate a decision tree from a datatable and then use it to predict missing data?

I did some researches but did not find any C# library that can generate a decision tree from a set of data.

Any help is greatly appreciated

EDIT: For more elaboration:

Lets say I have a dataset of persons with their name, age, salary, marital status, work and vote ( who they are going to vote for in the elections).

I want to use this data to build a decision tree.

And then I have another dataset of persons but without the "vote" column. I need to use the Decision tree generated in order to predict the vote for the persons.

The decision tree should be like a series of tests on all the variables of a person to obtain a final prediction

Answer

Rush picture Rush · Jun 30, 2012

Have you looked at Accord.NET Framework? Here's some more information: Decision Trees in C#