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

Message "e.response is undefined"

When trying to submit my GIT hub repository URL I got the error message "e.response is undefined". Why is this and what can I change?

thumbsup
0
message-simple
2

Bayes rule in elements of AI vs Bayes rule in Building AI

Bayes rule as defined in Elements of AI is different than Bayes rule as defined in Exercise 9 of Building AI. In Building AI it's defined as P(bot | 8 digits) = P(8 digits | bot) P(bot) / P(8 digits). My understanding of Bayes rule from Elements of AI is that P(bot | 8 digits) =…

thumbsup
0
message-simple
0

Exercice 19 Advanced - k neighbors

A stupid question: The code requested for exercice 19 / Advanced is in fact the code provided at the intermediate level, right? Or is there anything I miss there? I understand that two questions are the same, and that there are actually only two additional questions to complete…

thumbsup
0
message-simple
0

I.Probability fundamentals - expression / wording - advanced

Exercise 7: Flip the coin Write a program that generates 10000 random zeros and ones I think you are looking for an array, list or sequence that consists of 0 or 1. …

thumbsup
0
message-simple
1

Exercise 5: Warm-up Temperature (Advanced)

Hi, after adding "import numpy as np" in the following code the program processes endlessly. Test also. Any hints? import random …

thumbsup
0
message-simple
3

Exercise 19. Advanced plotting error

Hello, After running the code for k=250 and I try to plot the result, the answer is: "Traceback (most recent call last): File "/lib/python3.8/site-packages/pyodide.py", line 68, in eval_code return eval(compile(expr, "<eval>", mode="eval"), ns, ns) File "<eval>", line 101, in…

thumbsup
0
message-simple
2

Exercise 6 (Advanced): Buggy landscape generator

I was having some issues with sixth exercise so I tried to debug the code locally. It seems that the code given in the excercise always created a completely flat landscape for me, so there was not much climbing going on. To fix this, I had to change the dtype parameter in…

thumbsup
0
message-simple
2

Exercise 6 problems with the environment

I have problems with the exercise 6 intermediate level. There is problems in the Numpy import in the environment. Code is working in the other environment. How to proceed? Shall i done question in basic level.

thumbsup
0
message-simple
1

Exercise 11 Advanced: Is my code wrong?

Hello, i write my code and after running it, get a output “[258250 76100 492750], but when i test it, i get following error message. What parts of my code are wrong? Below is my code and full error message: …

thumbsup
0
message-simple
2

Exercice 18 Advanced

Can someone please specify how exactly the result should look like? I have "recycled" the function of exercice 17, (def find_nearest_pair) so that i have for instance a result under this format (0,1) It seems to me that it is also the right answer. I have try my code with other…

thumbsup
0
message-simple
1