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

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

     [ https://issues.apache.org/jira/browse/CAMEL-24526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-24526:
--------------------------------
    Fix Version/s: 4.22.1

> 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
>            Priority: Major
>             Fix For: 4.22.1, 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)