-
Notifications
You must be signed in to change notification settings - Fork 81
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
Cell: Migrate Neural Network's Class inside topomodelx/nn/ #170
Comments
Potentially consider: https://nbdev.fast.ai/ |
@maneel1995 -> Need to accept the invitation |
Hi @ninamiolane , in tutorials/cell/can_train.ipynb and tutorials/cell/can_train_bis.ipynb, both the models are defined as CAN(Cellular Attention Network). I don't think they are the same as the code looks different. What would be the ideal naming convention for the test cases? |
Hi @maneelusf , keep the naming as they are (i.e. class CAN and Class CANBis), there is another GitHUb issue ( issue #158 ) whose goal is to unify can and can_bis. Adding the high-priority label, since this task is blocking others. |
@mhajij you will need to remove the leftovers python classes of neural networks from the tutorials. They are not needed anymore: they can be imported from the corresponding files. |
Closed by PR #222 |
What?
We consider the neural networks (not the layers, the full networks) implemented for the cell domain. These neural networks are currently implemented as Python classes in the tutorials notebooks.
We should, instead, port their implementation into the core code base, specifically into:
topomodelx/nn/cell/
.Why?
The neural networks are "hidden" in the tutorials.
They might also be less unit-tested than what they could be if they were inside the core codebase.
Where?
The files to modify are:
NOTE: This issue only focus on layers within the cell domain. There will be other issues to port the neural network python code into the core code base for the other domains.
How?
For each file
tutorials/cell/[model-name]_train.ipynb
:topomodelx/nn/cell/[model-name].py
(note the absence of any_layer
suffix).test/nn/cell/test_[model-name].py
(note the absence of any_layer
suffix).The text was updated successfully, but these errors were encountered: