Settlement and training of social systems