Fast On-line Kernel Learning for Trees