         derivative = self.learning_factor(output)         self.delta = error * derivative         self.weights_error = []         for i in range(len(inputs)):             self.weights_error.append(self.delta * inputs[i] * self.learning_rate)         self.bias_error = self.delta * self.learning_rate  