Skip to content

Instantly share code, notes, and snippets.

@hamelin
Last active December 8, 2021 13:44
Show Gist options
  • Save hamelin/654da61ff22502e34fe64ab18140731c to your computer and use it in GitHub Desktop.
Save hamelin/654da61ff22502e34fe64ab18140731c to your computer and use it in GitHub Desktop.
Explains how to build sparse (COO) matrices that one-hot encode square lists
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment