Creates training sets for trifi application