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 21 (basic): extra explanation needed

I read part 1 and 2 of Neural Networks and then tried Exercise 21. By the questions that are asked, I get the feeling I'm missing some explanation. Anyway, gave it a go ... and failed. …

thumbsup
0
message-simple
0

Please, help me to explain in detail about 'weak' and 'strong' AI..

how it can be said that this is weak AI and strong AI??

thumbsup
0
message-simple
1

Exercise 17 (Advanced) Bag of Words

Hi My code passes the test with the result (2,3), but on submission it says answer is not correct with all this chunk: File "/usr/local/lib/python3.8/unittest/case.py", line 60, in testPartExecutor …

thumbsup
0
message-simple
0

Exercise 16 (Advanced)

I have implemented sorting using my own code and at the same time keep updating y_train also. Code runs, but does not pass the test. Code is as follows: for j, disty_1 in enumerate(distances): …

thumbsup
0
message-simple
0

Exercise 18 Advanced

I am not sure how to calculate "most similar pair of lines." I calculated the sum of tf-idf for each line and then took the difference between the lines. I am getting an answer of (0,1) since I am getting tf-idf of 0.972 for the first two lines. However, the test is failing and…

thumbsup
2
message-simple
14

Building AI Exercise 1 Permutation using Recursion explanation video

Hello guys, I worked hard to make this video which I hope some of you guys can find helpful. Video link! I made a mistake in the explanation can anyone find it? Feel free to give some kind feedback :)

thumbsup
0
message-simple
0

AssertionError in Exercise 5, Advanced

Can anyone give advice, why the test of code fails and AssertionError: 2.7182818284590455 != 1.0, even I think the accept_prob(S_old, S_new, T): function returns correct probability when the parameters have been given and def accept(S_old, S_new, T)-function seems to correctly…

thumbsup
0
message-simple
2

Would appriciate some help on exercise 2, intermidiate

Hi, I have a problem with exercise 2 that I would appriciate some help with. I get a result that seems right, but I still get an error when I run the test. My code currently looks like this: Result: …

thumbsup
0
message-simple
3

np.genfromtxt

Can anyone give me help in using np.genfromtxt to read data like this numerical string. How should I spesify it so that it understands it as data array? input_string = ''' 25 2 50 1 500 127900 …

thumbsup
0
message-simple
2

Exercise 17 advanced - Bag of words

Can anyone shed some light on how to make it work? I already solved both beginner and intermediate exercises, following the hint of the advanced exercise. From the intermediate exercise, I get the array distance: …

thumbsup
1
message-simple
0