LP Algorithm for Dependence Learning