You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.
Hello,
I found that the provided unit test for one_hot_encode is passing with following code:
def one_hot_encode(x):
"""
One hot encode a list of sample labels. Return a one-hot encoded vector for each label.
: x: List of sample Labels
: return: Numpy array of one-hot encoded labels
"""
# TODO: Implement Function
y = np.zeros((len(x), 10))
return y
It seems that the third test: assert np.array_equal(enc_labels, new_enc_labels) is always passing.
The text was updated successfully, but these errors were encountered:
Hello,
I found that the provided unit test for one_hot_encode is passing with following code:
It seems that the third test:
assert np.array_equal(enc_labels, new_enc_labels)
is always passing.The text was updated successfully, but these errors were encountered: