Gradient LabSign up free

ML glossary › Kernel trick

What is kernel trick in machine learning?

A shortcut that lets a model separate data as if it had been lifted into extra dimensions, so a flat cut works there, without computing those dimensions.

Where it shows up

Classification

Support vector machines

Give every point a height based on how far it is from the center. The outer ring rises, the inner group stays low. Now a flat sheet slides cleanly between them. This is the idea behind the kernel trick: add a dimension, then cut straight. (Real SVMs do this…

See kernel trick in motion. The lesson animates it step by step, free.

Open the lesson

Related terms