mikeizbicki / cmc-csci181-languages

3 stars 5 forks source link

Ranking Formula #16

Closed danzhechen closed 2 months ago

danzhechen commented 2 months ago

I am a bit confused with the final ranking formula. It makes sense, but when I apply that to the articles, the results varies a lot.

Here are two sample results, both of them seem very associated with the key words, but their ranking score are dramatically different. I used the absolute value as final ranking to compare, but I am not so sure this is the proper way.

Sample result 1:
Title: Ground News - Trump's debate challenge centers on avoiding 'personal nonsense'
Published: 2024-09-09 03:10:31+00:00
Hostname: ground.news
URL: https://ground.news/article/trumps-debate-challenge-centers-on-avoiding-personal-nonsense_7dbfc1
Summary: Former President Trump's advisors and allies believe he holds several advantages going into next week's debate against Vice President Harris, particularly his experience as a national debater and his perceived strength on key issues such as the economy and immigration. In order to succeed, Trump must navigate avoiding "personal nonsense" and keeping his emotions in check. Harris, on the other hand, must introduce herself and her policies to the public, giving Trump an opportunity to maintain his strong stance on certain issues. It remains to be seen whether Trump can successfully manage his impulses and come out on top in the debate.
Rank: -10.687539394532386
Time-Adjusted Rank: 1.5102900745139538

Sample result 2:
Title: Ground News - Harris, Walz to launch 'New Way Forward' tour following debate
Published: 2024-09-09 03:17:00+00:00
Hostname: ground.news
URL: https://ground.news/article/harris-walz-to-launch-new-way-forward-tour-following-debate_8b1283
Summary: On September 8, 2024, Vice President Kamala Harris and her running mate, Minnesota Governor Tim Walz (D), announced that they will embark on a "New Way Forward" tour, visiting critical battleground states following the presidential debate between Harris and former President Trump. The tour is scheduled to kick off on Thursday, two days after the debate and a day after Harris marks the anniversary of the September 11, 2001, terrorist attacks. According to Harris's campaign, the "New Way Forward" will be a defining goal of her administration, focusing on lowering costs for Americans. The tour is aimed at rallying supporters in swing states and building momentum ahead of the upcoming election.
Rank: -10.241270192957414
Time-Adjusted Rank: -1.4403707571484923