-
Notifications
You must be signed in to change notification settings - Fork 5
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
get_pred() exception handling in likelihood class #27
Comments
Can I check whether these are actually being raised as errors or whether you are just getting things printed such as |
Having just looked at the output file you sent me, it appears that the issue was being raised in |
Hi Deaglan,
Thank you - I'll run this now. I don't know if it will be completed by the time by the meeting at 3pm but I should at least have enough of an output to see if any errors are being thrown.
Thanks,
…________________________________
From: Deaglan Bartlett ***@***.***>
Sent: 20 September 2023 13:34
To: DeaglanBartlett/ESR ***@***.***>
Cc: AmeliaFord353 ***@***.***>; Author ***@***.***>
Subject: Re: [DeaglanBartlett/ESR] get_pred() exception handling in likelihood class (Issue #27)
Having just looked at the output file you sent me, it appears that the issue was being raised in match and not test_all. I've now put the try-except statement you suggested in. Please can you check whether this has fixed your issue?
—
Reply to this email directly, view it on GitHub<#27 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BBUWILJH3ZHN47KLZVNY4DTX3LPELANCNFSM6AAAAAA4SH4TTE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi @AmeliaFord353! Did this fix solve your problem? |
Yes, thank you! |
In the likelihood class in likelihood.py, there are errors being caused when trying to determine y values for functions, such as divide by zero. These are being produced in get_pred(). Possibly the code needs an exception handling if y cannot be calculated, or a process to drop the problematic functions altogether?
The text was updated successfully, but these errors were encountered: