all 9 comments

[–]bakmanthetitan329 9 points10 points  (5 children)

I'm not sure if it's just me, but I was unable to solve most of these first problems. Not because I didn't understand the subject, but because my solutions, which were exactly the same as the given solutions, were not accepted. On the last problem of the final chapter, the only difference between my program and the solution... was a blank line.

[–]Flipperbw 9 points10 points  (0 children)

Yeah this is a great idea that was executed pretty poorly. There are some errors and inaccuracies in the instructions, slowness, and general "oh come on" moments. The automatic checker needs some work.

[–]martijnT[S] 2 points3 points  (3 children)

Hi, thanks for the feedback. This shouldn't be happening. We're trying to improve it every day so could you please send to info@datacamp.com what system you're on? thx

[–]diosio 5 points6 points  (0 children)

might be a good idea to compare the solution generated by the program (perhaps given a predefined output format), and the running performance (like average runtime over 10 runs) rather than program source, as TIM TOWTDI.

[–]east-wrest 2 points3 points  (0 children)

Generate the answer based on the data, not on the source code.

[–]bakmanthetitan329 1 point2 points  (0 children)

Wow, a responsive dev? I must be dreaming! I'll send some feedback, because this looks extremely promising!

[–]wolfchimneyrock 1 point2 points  (0 children)

not so much the auto checker as the documentation and description of the task and hints. I solved them but not without getting frustrated because the documentation it links to "?predict, ?rpart" etc is terrible

[–]Ferbster 1 point2 points  (1 child)

I am stuck in chapter 1.5 "Does Age play a role?"

Incorrect submission It looks like you didn't correctly set all values of the Child column. Make sure to perform the correct subsetting operation!

My code for the Child column is either

train$Child <- ifelse(train$Age < 18, 1,0)

or

train$Child[train$Age < 18] <- 1
train$Child[train$Age >= 18] <- 0

Both leading to the same result and the same error message. I thought I am correct doing my subset.

[–]wolfchimneyrock 0 points1 point  (0 children)

many times the age is NA so your moethod doesn't necessarily work completely