Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiLogReg Algorithm #936

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Garic152
Copy link
Contributor

I have been working a bit more on the multiLogReg algorithm and wanted to share my latest progress.

The main part of the algorithm is almost done, but unfortunately we get a segfault error due to a casting problem in the `innerconvergence' loop. I have double-checked the code with the systemds version output, where I wasnt able to find any error, so the error origin must be inside this loop.

eric@daphne-container:/daphne$ ./bin/daphne scripts/algorithms/test_multilogreg.daph 
terminate called after throwing an instance of 'std::runtime_error'
  what():  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 -> "/daphne/scripts/algorithms/multiLogReg.daph":121:4
    | 
121 |     while(innverconverge != 1.0) {
    |     ^~~

I have also added a small test file where this error is reproducible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant