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 14 - main.main does not exist - problem. Any help?

Test is passed but when submitting, I get error mentioned below. I certainly have both def main(): ... …

thumbsup
0
message-simple
1

Exercise 14 (Advanced)

I am very confused about the message I get after pressing the test button: E ERROR: test_answer (builtins.MainTest) …

thumbsup
0
message-simple
1

Question regarding Ex #18 (Advanced)

I have done everything up to step 4, but now I am a bit confused. How can I compare the tfidf score of different lines? I have computed tfidf scores for all unique words, but it's not stated how the itfidf score of a line's words translate to the itidf score of the whole line. I…

thumbsup
0
message-simple
2

Exercise 10 and 11

thumbsup
1
message-simple
14

I can't submit my answers

Its been two days and I still cant submit my answers for exercise 8 to 13.

thumbsup
0
message-simple
0

Exercise 17: Bag of words (Intermediate)

Hello, I have a question about Exercise 17 in Chapter three. When I execute my code I get the following result: …

thumbsup
0
message-simple
2

Ex 16 - Nearest neighbor (Advanced)

OK, I've spent several hours trying to figure out why the test output doesn't match. Halp! Question 1) With this code we get k nearest (== lowest distance value) neighbours' most common class. Have I misinterpreted what we're after here? …

thumbsup
0
message-simple
3

Exercise 11 - intermediate

I get correct results, but I fail test, can you please tell me why? This is the message I get:

thumbsup
0
message-simple
2

Exercise 16 - intermediate - nearest neighbour

Im having promblems with understanding what this task is about. "Our target variable y is binary: it is either 0 or 1 (again think, for example, "is the cabin awesome or not.") ". What does it mean 'awsome or not'. We should change y to either 0 or 1 based on what? Any help is…

thumbsup
0
message-simple
2

Exercise 11 - intermediate

Im failing test and I dont know why. I wrote a code as per instruction. A loop (for loop inside of another for loop) which goes through the whole matrix and caluclates price of each cabin. When the prices are calucalted Im printing them out as 'print(First_cabin_price,…

thumbsup
1
message-simple
4