C1_W1_Programming_Assingment

Programming Assignment: Chest X-Ray Medical Diagnosis with Deep Learning

Hi,

I am currently doing the week 1 module 1 programming assignment and I ran into a NameError with the cell that contains:

check_for_leakage_test(check_for_leakage)

image

I used “patient_col” for creating “df1_patients_unique” in check_for_leakage function but it looks like column name is wrong.

df1_patients_unique = set(df1[patient_col].unique())
df2_patients_unique = set(df2[patient_col].unique())

Is this correct? I am stuck at this point, appreciate your help.

Regards

Minu

hi @Minupama_h

can you send me screenshot of the code by personal DM.

Please don’t post any codes here as it is against community guidelines.

Regards

DP

Hi!
I was going through my code again and finally noticed a spelling error. I fixed it and ran it again and I received the expected output. Really sorry for the confusion and thank you so much for your quick assistance.

Regards,
Minu

3 Likes

good, to close this thread, the learner had mistyped unique as unqiue in the patient_in_both_groups recall function causing the Name error, (probably an accidental error while typing).

Great job debugging :clap:t2: @Minupama_h

Regards

DP

1 Like