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. …
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??
Exercise 17 (Advanced) Bag of Words
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 …
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): …
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…
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.
I made a mistake in the explanation can anyone find it? Feel free to give some kind feedback :)
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…
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:
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 …
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: …