InfectionMedicineProteomics / BINN

Generating biologically informed neural networks
https://infectionmedicineproteomics.github.io/BINN/
MIT License
25 stars 10 forks source link

Removed the underscore split from the importance network and plotting #15

Closed ErikHartman closed 1 year ago

ErikHartman commented 1 year ago

Previously, the name of each node in importance network was source + _ + layer. This was do distinguish between copies of nodes. The underscore was removed by using str.split(). This caused problems when there was an underscore in the name of the source. I refactored it so that nodes now are defined by an ID which is unique for each source. This way, there is no need to split.