daphne-eu / daphne

DAPHNE: An Open and Extensible System Infrastructure for Integrated Data Analysis Pipelines
Apache License 2.0
67 stars 62 forks source link

multiLogReg.daph does not run #895

Open philipportner opened 2 weeks ago

philipportner commented 2 weeks ago

The DaphneDSL script in scripts/algorithms/multiLogReg.daph does not work.

bin/daphne scripts/algorithms/multiLogReg.daph XY=\"test/data/wine/winequality-red-white.csv\" B=\"output.csv\"
[error]: Lowering pipeline error.{}
PassManager failed module lowering, responsible IR written to module_fail.log.
InferencePass.cpp:472 -> InferencePass.cpp:169 -> InferTypesOpInterface failed with the following message [ type inference returned an unknown result type for some op, but partial inference is not allowed at this point: daphne.cast ]
    | Source file -> "/home/philipportner/daphne/scripts/algorithms/multiLogReg.daph":165:4
    |
165 |     while( innerconverge != 1 ) #TODO !innerconverge support
    |     ^~~
pdamme commented 2 weeks ago

Thanks for reporting this issue. JFYI: The current implementation of multiLogReg was an early manual translation from Apache SystemDS's DML to DaphneDSL. Since recently, there is an issue on a new (semi-)automatic translation of the script (#869).