Layer, Supervised, Unsupervised basic implementations