Skip to content

DTSharp is a .net decision tree learning library.

Notifications You must be signed in to change notification settings

cemmutlu/DTSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DTSharp

DTSharp is a .net decision tree learning library. It uses a specialized algorithm like ID3 and C4.5 to generate a decision tree. Its capabilities are listed below:

  • Pruning with depth,data count,output probability,
  • Can use any split qualifiers (like GiniImpurity,InformationGain,Entropy)
  • Can use both discrete and continious features
  • Uses Iqueryble data sources.
  • Can use Entity Framework as a data source (Transfers processing load to db)
  • Easy usage with lambda expressions

Usage

   var dtl = DecisionTreeLearning<PatientRecord>.Create<int>(x => x.Cancer ? 1 : 0, new DecisionTreeOptions());
    dtl.AddContiniousFeature("Age", x => x.Age);
    dtl.AddContiniousFeature("Height", x => x.Height);
    dtl.AddContiniousFeature("Weight", x => x.Weight);
    dtl.AddDiscreteFeature("Smoke", x => x.Smoke ? 1 : 0);
    var decisionTree = dtl.Learn(data);

ToDos

  • Xml Serializable Nodes
  • Regression Tree Learning

About

DTSharp is a .net decision tree learning library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages