vkola-lab / ncomms2022

Multimodal deep learning for Alzheimer's disease dementia assessment
MIT License
95 stars 25 forks source link

Is the class Fusion_Model_Wrapper part of the code incomplete? #5

Closed Yueup closed 1 year ago

Yueup commented 1 year ago

Looking forward to your reply

shangranq commented 1 year ago

No, the code is complete. The class Fusion_Model_Wrapper inherits from its parent class NonImg_Model_Wrapper which contains the most of the class methods. Thus, Fusion_Model_Wrapper can directly leverage the implementation from its parent class.

For class inheritance, you can find more details online and below is just a bare minimal illustration https://www.w3schools.com/python/python_inheritance.asp

Yueup commented 1 year ago

Thank you for your explanation! I’ll try to run your enlightening code later