Exemplo n.º 1
0
 public void ExecuteNode(List <string[]> nodeData)
 {
     this.nodeDataInstance     = nodeData;
     this.trainingDataInstance = TrainingData.GetTrainingDataInstance;
     this.distinctClassList    = this.trainingDataInstance.distinctClasses;
     this.entropy = calculateEntropy();
     if (this.entropy != 0.0)
     {
         double childEntropy = createChildNodesAndGetChildEntropy();
         this.informationGain = this.entropy - childEntropy;
     }
 }
 public FeatureSelection()
 {
     this.trainingDataInstance = TrainingData.GetTrainingDataInstance;
 }