I keep getting this error:
UnboundLocalError: local variable ‘probability_f’ referenced before assignment
I saw a couple of posts but was not helpful. My sample code for this exercise is:
START CODE HERE
for feature_val, feature_name in zip(X, features):
# Match the current feature based on its name
match features:
case "height" | "weight":
# Get the relevant parameters out of the params_dict dictionary
mu = params_dict["breed"]["height" | "weight"]["mu"]
sigma = params_dict["breed"]["height" | "weight"]["sigma"]
Thank you in advance