menu

Elementsofai

Elementsofai.com is a two part online course about AI and this community is for the participants of the course to discuss.

Channels
# All channels
view-forward
# General
view-forward
# buildingAI
view-forward
# Chapter 1
view-forward
# Chapter 2
view-forward
# Chapter 3
view-forward
# Chapter 4
view-forward
# Chapter 5
view-forward
# Chapter 6
view-forward
# Feedback
view-forward
# Study groups
view-forward
Team
Posts
Members
Info

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 …

thumbsup
0
message-simple
2

Toy problem: chicken crossing

Can anyone explain how the states got connected with each other?

thumbsup
2
message-simple
48

Greetings from Habib Qais - a new member of ELements of AI

I have trouble understanding the chapter two exercise, can anyone help me?

thumbsup
1
message-simple
3

i think more examples will bill the ring and clear the concept

thumbsup
0
message-simple
0

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

thumbsup
0
message-simple
1

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.

thumbsup
0
message-simple
0

Exercise 7: Flip the coin

Hi, 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): …

thumbsup
0
message-simple
1

Excercise 9:

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) ? …

thumbsup
0
message-simple
21

Exercise 9 - Advanced

Dear all, my code outputs a probability but when I test it I have this strange error. What does this mean? …

thumbsup
1
message-simple
2

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…

thumbsup
1
message-simple
2