Fix featurename

This commit is contained in:
Ruben 2016-09-14 16:35:14 +01:00
parent 5a765edef3
commit 3bc73d412f
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ foreach(range(0, 100, 10) as $i) {
/* @var $hitRepo EmotionHero\Models\HitRepository */
$hitRepo = $em->getRepository(EmotionHero\Models\Hit::class);
$hit = $hitRepo->getClosestHit("anger", $i);
$img = $hit->getFeatureImgAsString("anger");
$img = $hit->getFeatureImgAsString("brows");
$score = $hit->getEmotions()->getEmotionScore("anger");
$percentage = sprintf("%.4f %%",$score);