C3_W1_Assignment: Exercise 5

I am getting below output

e.g. given below

Distribution parameters for training split:

{0: {'bark_days': params_binomial(n=30.000, p=0.550),
     'breed': params_uniform(a=0.100, b=0.597),
     'ear_head_ratio': params_uniform(a=0.100, b=0.597),
     'height': params_gaussian(mu=34.286, sigma=4.603),
     'weight': params_gaussian(mu=25.029, sigma=5.788)},
 1: {'bark_days': params_binomial(n=30.000, p=0.550),
     'breed': params_uniform(a=0.100, b=0.597),
     'ear_head_ratio': params_uniform(a=0.100, b=0.597),
     'height': params_gaussian(mu=34.286, sigma=4.603),
     'weight': params_gaussian(mu=25.029, sigma=5.788)},
 2: {'bark_days': params_binomial(n=30.000, p=0.550),
     'breed': params_uniform(a=0.100, b=0.597),
     'ear_head_ratio': params_uniform(a=0.100, b=0.597),
     'height': params_gaussian(mu=34.286, sigma=4.603),
     'weight': params_gaussian(mu=25.029, sigma=5.788)}}

Probability of each class for training split:

{0: 0.346, 1: 0.393, 2: 0.26}

Not understanding how the breed feature appears in the dictionary. Moreover values are not matching.

please help

1 Like

I had the same result but was graded 10/10 so it think it is no problem.