This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/master by this push:
new 117c64f Update NCIdlCompilerBase.scala
117c64f is described below
commit 117c64f9edf9b2310126abd929a0443d3af8309b
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Thu Apr 22 11:10:27 2021 +0300
Update NCIdlCompilerBase.scala
---
.../org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala
index 8359ab1..21ce034 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala
@@ -765,7 +765,7 @@ trait NCIdlCompilerBase {
val seq: Seq[Double] = lst.asScala.map(p ⇒
JDouble.valueOf(p.toString).doubleValue())
val mean = seq.sum / seq.length
- val stdDev = Math.sqrt(seq.map( _ - mean).map(t ⇒ t *
t).sum /seq.length)
+ val stdDev = Math.sqrt(seq.map( _ - mean).map(t ⇒ t *
t).sum / seq.length)
Z(stdDev, n)
}