My perceptrons implementations