Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleshot committed Aug 23, 2024
1 parent 3ffbc3d commit 64fad7f
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import numpy as np


def to_categorical(x, n_col=None):
# Your code here
pass
# Your code here
pass


x = np.array([0, 1, 2, 1, 0])
output = to_categorical(x)
print(output)

0 comments on commit 64fad7f

Please sign in to comment.