You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.
First of all, great stuff, I've been trying to do this for a while now but hadn't thought to use the average outcome. Brilliant!
Issue: because you are importing the globals.py which imports the settings.py within the function calls (current_pattern, pattern_storage, pattern_recognition), you are using the initial endoints within the functions (you can see it prints the same real_outcome every time...).
In the main.py the end_point gets incremented correctly but unfortunately that value is not used by the functions. You can check by printing the end_point from the functions and see for yourself.
Me because I'm no python master, I've just chosen the easy way around and initialized the end_point in the main.py and then pass it to the functions as a parameter rather then importing it from settings.py (and of course, removed end_point assignment from settings.py).
Cheers,
Dan
PS: running it now, seems to have the same overall accuracy with the change, will update when done running
The text was updated successfully, but these errors were encountered:
Hey there,
First of all, great stuff, I've been trying to do this for a while now but hadn't thought to use the average outcome. Brilliant!
Issue: because you are importing the globals.py which imports the settings.py within the function calls (current_pattern, pattern_storage, pattern_recognition), you are using the initial endoints within the functions (you can see it prints the same real_outcome every time...).
In the main.py the end_point gets incremented correctly but unfortunately that value is not used by the functions. You can check by printing the end_point from the functions and see for yourself.
Me because I'm no python master, I've just chosen the easy way around and initialized the end_point in the main.py and then pass it to the functions as a parameter rather then importing it from settings.py (and of course, removed end_point assignment from settings.py).
Cheers,
Dan
PS: running it now, seems to have the same overall accuracy with the change, will update when done running
The text was updated successfully, but these errors were encountered: