The short answer is, the trailing underscore (self.gamma_) in class attributes is a scikit-learn convention to denote "estimated" or "fitted" attributes. The leading underscores are (_sigmoid(self, z) ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results