Commit 53138e69 authored by Committed by GitHubBrowse files
Estimate VAD by weighted average
Does a weighted average of centroids. If intensity sums to zero for a category, a 'neutral' category is used or 0 if it's not present. I'm not 100% sure this is the best approach, and the name of the "neutral" category perhaps should use some convention? Note that if there are no categories present, then no VAD (or other dimensional) estimate is returned. It may be better to use the neutral centroid if it's present in this case also.
Showing with 11 additions and 2 deletions