Yordan Zaykov 2018-10-06 01:01:19 +01:00
Родитель 5b4d609a1d
Коммит 71b2cd6354
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1622,7 +1622,7 @@ namespace Microsoft.ML.Probabilistic.Tests
var loserPerformance = Variable.GaussianFromMeanAndVariance(playerSkills[losers[game]], 1.0);
// The winner performed better in this game
Variable.ConstrainPositive(winnerPerformance - loserPerformance);
Variable.ConstrainTrue(winnerPerformance > loserPerformance);
}
// Attach the data to the model