Article - CS316306

ThingWorx Analytics Confidence Models fails with "TypeCheckException - The row failed to evaluate due to Unexpected value(s) found in the record"

Modified: 22-Apr-2020   

Applies To

  • ThingWorx Analytics 8.5

Description

  • Unable to get results from Confidence Model
  • Confidence Model fails
  • In Composer Predictive scoring with Confidence Model fails with underneath exception message
TypeCheckException - The row failed to evaluate due to Unexpected value(s) found in the record
  • worker.log provides underneath exception message
[Executor task launch worker for task 2] WARN  c.t.analytics.scoring.core.Scoring - TypeCheckException - The row failed to evaluate due to Unexpected value(s) found in the record.
org.jpmml.evaluator.TypeCheckException: Expected DOUBLE, but got STRING (0,273600)
at org.jpmml.evaluator.TypeUtil.toDouble(TypeUtil.java:670)
at org.jpmml.evaluator.TypeUtil.cast(TypeUtil.java:453)
at org.jpmml.evaluator.FieldValue.getValue(FieldValue.java:336)
at org.jpmml.evaluator.FieldValue.asNumber(FieldValue.java:264)
at org.jpmml.evaluator.functions.ArithmeticFunction.evaluate(ArithmeticFunction.java:57)
at org.jpmml.evaluator.FunctionUtil.evaluate(FunctionUtil.java:47)
at org.jpmml.evaluator.ExpressionUtil.evaluateApply(ExpressionUtil.java:371)
[...]
This is a PDF version of Article CS316306 and may be out of date. For the latest version click https://www.ptc.com/en/support/article/CS316306