An open API service indexing awesome lists of open source software.

https://github.com/superthinking/basicstringprocessingprogram


https://github.com/superthinking/basicstringprocessingprogram

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# BasicStringProcessingProgram

dictionary encoding:
"hello world hello everyone"
would map to
[0 1 0 2]
where 0 = "hello", 1 = "world", and 2 = "everyone" if we were encoding words.

one-hot dictionary encoding:
"hello world hello everyone"
would map to
[[1 0 1 0]
[0 1 0 0]
[0 0 0 1]]