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

Neural net prescriptor #3

Merged
merged 3 commits into from
Dec 13, 2024
Merged

Neural net prescriptor #3

merged 3 commits into from
Dec 13, 2024

Conversation

danyoungday
Copy link
Contributor

Added a simple single hidden layer neural network Prescriptor implementation we can use in other projects. Downgraded Python version to work with En-ROADS.

Moved prescriptors to a prescriptor folder but put the imports in __init__.py so the imports can remain the same as before.

@danyoungday danyoungday self-assigned this Dec 13, 2024

# Prevents __init__.py from erroring for unused imports
per-file-ignores = __init__.py:F401
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

401 is unused imports. This makes sure our init.py doesn't error when it shouldn't.

@@ -0,0 +1 @@
from prescriptor.prescriptor import Prescriptor, PrescriptorFactory
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imports can remain the same because prescriptor.Prescriptor is still valid.

@danyoungday danyoungday merged commit ab75cad into main Dec 13, 2024
1 check passed
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