Text this: Kernel-based Enhancement of General Stochastic Network for Supervised Learning