Algorithm/Machine learning project (Hangman)
Budget: ₹1,500 – ₹12,500 INR
Your work is to write an algorithm that plays the game of Hangman through API server.
When a user plays Hangman, the server first selects a secret word at random from a list. The server then returns a row of underscores (space separated)—one for each letter in the secret word—and asks the user to guess a letter. If the user guesses a letter that is in the word, the word is redisplayed with all instances of that letter shown in the correct positions, along with any letters correctly guessed on previous turns. If the letter does not appear in the word, the user is charged with an incorrect guess. The user keeps guessing letters until either (1) the user has correctly guessed all the letters in the word or (2) the user has made six incorrect guesses.
You are required to write a "guess" function that takes current word (with underscores) as input and returns a guess letter. You will use the API codes below to play 1,000 Hangman games.
On a final note I just want to design guess function such that would would output the most probable guess character from dictionary that shall fit into the word. No need to change API code. Also write down why this algo/ml would work best
INSTRUCTIONS
Based on your final score(Accuracy >60%) and an original ML based solution (preferably NOT 'n gram'), we will review and contact you to schedule an interview if your performance meets our expectations.
Important Note:
1. Target the accuracy as high as possible (above 60%).
2. All answers submitted by candidates are subjected to strict plagiarism screening and candidates who are suspected of copying answers discussed in sources such as (but not limited to) online forums will not be accepted into the program
3. An original and unique solution with a self written code is expected. Please send across a document detailing your strategy as well.
When a user plays Hangman, the server first selects a secret word at random from a list. The server then returns a row of underscores (space separated)—one for each letter in the secret word—and asks the user to guess a letter. If the user guesses a letter that is in the word, the word is redisplayed with all instances of that letter shown in the correct positions, along with any letters correctly guessed on previous turns. If the letter does not appear in the word, the user is charged with an incorrect guess. The user keeps guessing letters until either (1) the user has correctly guessed all the letters in the word or (2) the user has made six incorrect guesses.
You are required to write a "guess" function that takes current word (with underscores) as input and returns a guess letter. You will use the API codes below to play 1,000 Hangman games.
On a final note I just want to design guess function such that would would output the most probable guess character from dictionary that shall fit into the word. No need to change API code. Also write down why this algo/ml would work best
INSTRUCTIONS
Based on your final score(Accuracy >60%) and an original ML based solution (preferably NOT 'n gram'), we will review and contact you to schedule an interview if your performance meets our expectations.
Important Note:
1. Target the accuracy as high as possible (above 60%).
2. All answers submitted by candidates are subjected to strict plagiarism screening and candidates who are suspected of copying answers discussed in sources such as (but not limited to) online forums will not be accepted into the program
3. An original and unique solution with a self written code is expected. Please send across a document detailing your strategy as well.
Related categories:
Python
Machine Learning (ML)
Deep Learning
Deep Neural Network
Reinforcement Learning