We propose a novel kernel affine projection (KAP) algorithm, which combines kernel mapping and affine projection for channel equalization in optical direct detection systems. Experimental results show that the KAP algorithm can mitigate nonlinear impairments in short-reach communications while maintaining low computational complexity.