changed supervised learning constaint to include significance test