C1_M1_Assignment - Exercise 1 Passed unittests despite inaccurate code


My exercise 1 unittest is not passing despite having the same result as the expected outcome

The error message gives you something pretty specific to check. Your rush_hour_feature function is returning a vector with 5 elements when it should be returning 4 elements. So how could that happen?

1 Like

Thank you, Paul, for your response. I saw my mistake; I was using the sample_hour and sample_weekend data inside the rush_hour_feature, instead of the hour_tensor and weekend_tensor

2 Likes