Esempio n. 1
0
        public void createTree(Visualization visualization)
        {
            Node node = new Node();

            node.entropy = Math.Round(mainEntropy, 2);
            node.value   = column;
            node.height  = 1;
            node.nodes   = new Node[childrenNode.Length];
            createTree(node, this);
            visualization.insert(node);
        }
 public Hospital(PictureBox ptbDecision, PictureBox ptbC45Learning)
 {
     this.ptbDecision         = ptbDecision;
     this.ptbC45Learning      = ptbC45Learning;
     visualizationDecision    = new Visualization(ptbDecision);
     visualizationC45Learning = new Visualization(ptbC45Learning);
     patients = new List <Patient>();
     Cuadro1  = new Hashtable();
     Cuadro2  = new Hashtable();
     Cuadro3  = new Hashtable();
     Cuadro4  = new Hashtable();
     Cuadro5  = new Hashtable();
 }