Exercise 2: Pineapple route emissions Intermediate - 'printTest' error
My code appears to run as expected, but fails in Test with the following error:
Traceback (most recent call last):
File "/lib/python3.8/site-packages/pyodide/_base.py", line 70, in eval_code …
Toy problem: chicken crossing
Can anyone explain how the states got connected with each other?
Greetings from Habib Qais - a new member of ELements of AI
I have trouble understanding the chapter two exercise, can anyone help me?
i think more examples will bill the ring and clear the concept
Greetings from Kate - a new member of ELements of AI: Nice to meet you
I have trouble with exercise of part 2. Is there anyone that can help explain to me? Thanks
Exercise 10 Advance Naive Bayes Classifier
I'm lost. I don't know how to solve this problem. I think I need some kind of clue on how to formulate the naive bayes classifier formula for this example.
Exercise 7: Flip the coin
I wrote a code that counts the number of "11" and gives the correct output of 2 but I still get fail when testing my solution. I don't know any other way to solve it. This is the code I wrote:
def count11(seq): …
Does anyone know how the formula was derived
P(8-digits) = P(8-digits | bot) x P(bot) + P(8-digits | human) x P(human)
Exercise 9 - Advanced
my code outputs a probability but when I test it I have this strange error.
What does this mean? …
Exercise 7: Flip the coin - Advanced
Hi there! The output of my code is always close to the desired output ma the test fails. I don't understand what I'm doing wrong. Here's just a snippet of my code: <count = 0 for i, v in enumerate(seq): if seq[i:i+5].all() == 1 and v == 1: count += 1 return count>
Thanks for any…