def h_theta(self, theta, x_features): """ This is the logistic function that uses the sigmoid """ h_theta = LinearRegressor.h_theta(self, theta, x_features) return 1.0 / (1 + np.power(np.e, -h_theta))