Fix featurename
This commit is contained in:
parent
5a765edef3
commit
3bc73d412f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue