HW8, #2-6; Kernel methods - polynomial kernels