/// <summary> Constructor for pruneable tree structure. Stores reference /// to associated training data at each node. /// /// </summary> /// <param name="toSelectLocModel">selection method for local splitting model /// </param> /// <param name="pruneTree">true if the tree is to be pruned /// </param> /// <param name="cf">the confidence factor for pruning /// </param> /// <exception cref="Exception">if something goes wrong /// </exception> public C45PruneableClassifierTree(ModelSelection toSelectLocModel, bool pruneTree, float cf, bool raiseTree, bool cleanup):base(toSelectLocModel) { m_pruneTheTree = pruneTree; m_CF = cf; m_subtreeRaising = raiseTree; m_cleanup = cleanup; }
/// <summary> Constructor. </summary> public ClassifierTree(ModelSelection toSelectLocModel) { m_toSelectModel = toSelectLocModel; }