diff --git a/data-computer/v1/lda-segment.ini b/data-computer/v1/lda-segment.ini index df61c1f..79b43cf 100644 --- a/data-computer/v1/lda-segment.ini +++ b/data-computer/v1/lda-segment.ini @@ -52,7 +52,7 @@ # Step 2.1.1 (spécifique): Propose un reformatage de sortie pour usage simplifier dans lodex [fork/exchange] -value = get('value.topics').map((o, i) => _.zip(o.words, o.words_weights).map(x=>x.concat(i).concat(o.topic_weight))).flatten().map(y=> ({source: y[0], target: y[2], weight: y[1], origin: self.id})) +value = get('value.topics').map((o, i) => _.zip(o.words, o.words_weights).map(x=>x.concat(i).concat(o.topic_weight))).flatten().map(y=> ({source: y[0], target: y[2], weight: y[1], origin: self.id})).filter(Boolean) [fork/ungroup] [fork/identify] path = uuid