Franklin Heng
1 min readJun 29, 2020

--

Hey Tiina, thanks for the comments! Yes, fit() and gk_segment() should be indented within the GK class. I hope to resolve these types of issues by attaching github sources to article, rather than copy and pasting. It does seem to mess it up a bit.

I agree with you. I think super() is mainly used in sub classes that inherit from the main class. However, I adapted this from another open source code and I didn't want to change it too much. Haven't tried running without it.

--

--

Franklin Heng
Franklin Heng

Written by Franklin Heng

AI/ML, Computer Vision, Neurotech @ UCSF

No responses yet

Write a response