def _split_coefficents(self, w):
        """Split into intercept/bias and feature-specific coefficients"""
        if self._fit_intercept:
            bias = w[0]
            wf = w[1:]
        else:
            bias = 0.0
            wf = w
        return bias, wf
def _split_coefficents ( self , w ) : if self . _fit_intercept : bias = w [ 0 ] wf = w [ 1 : ] else : bias = 0.0 wf = w return bias , wf
Split into intercept/bias and feature-specific coefficients