Skip to content

Instantly share code, notes, and snippets.

@dongr0510
Created September 16, 2020 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dongr0510/990519bc9d2619d61f3981cb7b2fc10b to your computer and use it in GitHub Desktop.
Save dongr0510/990519bc9d2619d61f3981cb7b2fc10b to your computer and use it in GitHub Desktop.
for i in range(5):
print(x[i]," =====> ", y[i])
----------------------------------------------------------------------------------
[5. 4. 0. 4. 3. 0. 1. 1. 0. 3. 0. 1. 6. 0. 0. 2. 0. 1. 6. 1.] =====> [1 0 0 0 0]
[2. 2. 0. 1. 5. 1. 2. 0. 7. 4. 1. 0. 2. 1. 5. 2. 0. 4. 0. 6.] =====> [0 0 0 0 1]
[3. 4. 2. 1. 4. 5. 2. 2. 4. 1. 1. 2. 3. 5. 2. 3. 0. 4. 5. 2.] =====> [0 1 0 1 0]
[0. 5. 2. 3. 2. 3. 7. 4. 4. 1. 3. 0. 5. 5. 2. 1. 3. 3. 2. 3.] =====> [0 0 0 0 0]
[3. 6. 2. 3. 2. 0. 1. 3. 2. 4. 0. 0. 3. 4. 1. 6. 0. 5. 0. 8.] =====> [1 0 0 0 1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment