forked from IF-LK-2020/entscheidungsbaum
Kleine Änderungen
Vorhersage wurde zu decisionTree umbenannt,weil die oberste wurzel den ganzen Baum (decisionTree) unter sich hat und so decisionTree der ganze Baum ist
This commit is contained in:
@@ -8,7 +8,6 @@ public class DecisionTreeBuilder {
|
||||
private BinaryTree<DecisionNode> Vorhersage2;
|
||||
private BinaryTree<DecisionNode> Wind;
|
||||
private BinaryTree<DecisionNode> Feuchtigkeit;
|
||||
private BinaryTree<DecisionNode> Vorhersage;
|
||||
private BinaryTree<DecisionNode> decisionTree;
|
||||
|
||||
public DecisionTreeBuilder() {
|
||||
@@ -38,7 +37,7 @@ public class DecisionTreeBuilder {
|
||||
|
||||
Vorhersage2 = new BinaryTree<>(new Decision("vorhersage", "regnerisch"),Wind,classYes);
|
||||
|
||||
Vorhersage = new BinaryTree<>(new Decision("vorhersage" , "sonnig"),Feuchtigkeit,Vorhersage);
|
||||
decisionTree = new BinaryTree<>(new Decision("vorhersage" , "sonnig"),Feuchtigkeit,Vorhersage2);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user