Advertisement
Guest User

Distances

a guest
Jun 16th, 2015
447
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Distance matrix
  2. [[ 0. 4.12310563 4. 9.05538514 5. ]
  3. [ 4.12310563 0. 3.16227766 10.81665383 8.24621125]
  4. [ 4. 3.16227766 0. 4.24264069 2. ]
  5. [ 9.05538514 10.81665383 4.24264069 0. 3.16227766]
  6. [ 5. 8.24621125 2. 3.16227766 0. ]]
  7.  
  8. # Labeled results
  9. [[ 1. 1. 0. ]
  10. [ 2. 1. 4.12310563]
  11. [ 3. 1. 4. ]
  12. [ 4. 1. 9.05538514]
  13. [ 5. 1. 5. ]
  14. [ 1. 2. 4.12310563]
  15. [ 2. 2. 0. ]
  16. [ 3. 2. 3.16227766]
  17. [ 4. 2. 10.81665383]
  18. [ 5. 2. 8.24621125]
  19. [ 1. 3. 4. ]
  20. [ 2. 3. 3.16227766]
  21. [ 3. 3. 0. ]
  22. [ 4. 3. 4.24264069]
  23. [ 5. 3. 2. ]
  24. [ 1. 4. 9.05538514]
  25. [ 2. 4. 10.81665383]
  26. [ 3. 4. 4.24264069]
  27. [ 4. 4. 0. ]
  28. [ 5. 4. 3.16227766]
  29. [ 1. 5. 5. ]
  30. [ 2. 5. 8.24621125]
  31. [ 3. 5. 2. ]
  32. [ 4. 5. 3.16227766]
  33. [ 5. 5. 0. ]]
Advertisement
RAW Paste Data Copied
Advertisement