You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2026/08/27 12:59:00 UTC

[jira] [Created] (CAMEL-24526) camel-djl: the zoo linear/softmax regression predictors are unimplemented no-ops

Andrea Cosentino created CAMEL-24526:
----------------------------------------

             Summary: camel-djl: the zoo linear/softmax regression predictors are unimplemented no-ops
                 Key: CAMEL-24526
                 URL: https://issues.apache.org/jira/browse/CAMEL-24526
             Project: Camel
          Issue Type: Bug
          Components: camel-ai
            Reporter: Andrea Cosentino
            Assignee: Andrea Cosentino
             Fix For: 4.23.0


ZooLinearRegressionPredictor and ZooSoftmaxRegressionPredictor (components/camel-ai/camel-djl .../model/tabular/) have an empty process() body (// TODO: impl). ModelPredictorProducer.getZooPredictor routes djl:tabular/linear_regression and .../softmax_regression to them, so the exchange body passes through UNCHANGED and the caller's input is returned as if it were the prediction — a silent wrong result with no error.

Fix: implement via Criteria + ModelZoo.loadModel like the sibling zoo predictors, or throw UnsupportedOperationException until implemented so the failure is visible.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)