AWS Marketplace — Machine Learning solutions

John Gakhokidze
2 min readSep 13, 2020

ML (Machine Learning) can be subject to political ambitions. You can tune library the way, it gives certain predefined results, based on developer’s/company’s political views.

When we are analyzing several solutions from AWS Marketplace sections Machine Learning — Text we have figured out that some solutions are politically oriented.

Here is the test:

  1. We use CNN webpage to pull article — please, note link is valid as of 09/13/20
  2. We used paragraph 3

“Trump will visit McClellan Park, California, on Monday for a briefing with local and federal fire and emergency officials on the state’s wildfires, the White House said Saturday. The President was already set to visit Reno, Nevada, on Saturday, where he is likely to see firsthand evidence of the devastating fires, as the National Weather Service in Reno issued a dense smoke advisory through Sunday”

  1. Tested Sentiments in 3 different solutions

a. Twinword API

b. AWS Comprehend

c. SigmoData Sentiment Analysis

2. Method used — Replace word Trump with word Biden

3. The results:

  • Twinword API — same scores
  • AWS Comprehend — same score
  • SigmoData Sentiment Analysis came with surprise
  1. With word Trump it gives 38% of positive score

2. With word Biden it gives 82% of positive score

Try it yourself

Summary: before using any ML model, make sure you test it on edge values.

Originally published at on September 13, 2020.