From 1be481e0e19d75138a79b32060fe910a733dbae6 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Mon, 20 May 2024 10:21:31 +0000 Subject: Mon, May 20, 2024, 3:21 AM -07:00 --- wk7/pset/songs/answers.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'wk7') diff --git a/wk7/pset/songs/answers.txt b/wk7/pset/songs/answers.txt index e69de29..58c5634 100644 --- a/wk7/pset/songs/answers.txt +++ b/wk7/pset/songs/answers.txt @@ -0,0 +1,7 @@ +I would take the average value of the energy, valence, and danceability of each +song, then calculate the moods based on those values + +One downside of this is that it may cancel out extreme values, leading to values +just in the middle, and an inaccurate mood given. A better way to do this would +be to find clumps of the most common values of each and use the two biggest clumps +to base the mood on. -- cgit v1.2.3