Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 742 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 742 Bytes

AI Political Survey

Description

This application has two main parts - a survey which collects data and a game which guesses the user's political party affiliation in as few questions as possible. The survey portion asks the user 10 political questions and then asks with which political party they most closely align. This data is then used to update a file which records the probability of each party to answer individual questions a certain way. The party guessing game makes use of this historical data by updating party affiliation probability with each question answered and returns a guess when the probability threshold is reached.

Languages

  • C++

Concepts

  • Bayes' Theorem