[
https://issues.apache.org/jira/browse/CAMEL-24526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-24526.
---------------------------------
Resolution: Fixed
> 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.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)