Activation function, mostly used in neural networks. f(X)=∑exiexi Another definition: P(y=j∣x)=∑k=1KexTwkexTwj