In Week 2 Assignment Exercise 4 (UNQ_4), the requirement is said to be subgroup size > 250 and cindex < 0.69. I got Subgroup size: 525, C-Index: 0.6374783051050332 by masking X_test[‘Age’]>=65. That meets the requirements, but why it was graded not correct?
1 Like
Hi @Jack_Changfan,
My implementation of your above mention code returned me this output: Your Subgroup size: 525, and your C-Index: 0.6967203303608833
As you can see, 0.6967203303608833
is greater than 0.69
(the test requires a value less than 0.69
)
Maybe you made a mistake in one (or more) of the earlier exercises.
Or, another possibility is that since most of the values generated in the notebook are random, you might have gotten a value that passed in the assignment, but failed the autograder.
Cheers,
Mubsi
1 Like