Commit 0048df38 authored by Bruno López Trigo's avatar Bruno López Trigo

Solucionado erro na xeración da explicación local para os valores de corte

parent c3d21bd4
...@@ -345,10 +345,10 @@ public class InfoExtractorTree extends InfoExtractor { ...@@ -345,10 +345,10 @@ public class InfoExtractorTree extends InfoExtractor {
for (Antecedent a : this.classifications.get(alternative).getAntecedents()) { for (Antecedent a : this.classifications.get(alternative).getAntecedents()) {
if (!a.isCategoric()) { if (!a.isCategoric()) {
Double split = this.classifications.get(alternative) Double split = this.classifications.get(alternative)
.getSplitValue(a.getDecision().split(" > | <= ")[0]); .getSplitValue(a.getDecision().split(" > | <= | >= | < ")[0]);
if (split != null) { if (split != null) {
values.put(this.getConfig().getAttributeById(a.getDecision().split(" > | <= ")[0]).getName(), values.put(this.getConfig().getAttributeById(a.getDecision().split(" > | <= | >= | < ")[0]).getName(),
split); split);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment