Closed matiasvlevi closed 3 years ago
A static function that takes in an array of values and returns a string. Just like Rann.stringToNum reversed. This method should be added to the RNN branch.
Rann.stringToNum
Existing stringToNum method
Rann.stringToNum('hey'); // Returns [0.7604166666666666, 0.7291666666666666, 0.9375]
numToString method
Rann.numToString([0.7604166666666666, 0.7291666666666666, 0.9375]); // Should return 'hey'
Additional context Be sure to commit changes to the RNN branch.
I’ll do it
Feature
A static function that takes in an array of values and returns a string. Just like
Rann.stringToNum
reversed. This method should be added to the RNN branch.Type
Examples
Existing stringToNum method
numToString method
Additional context Be sure to commit changes to the RNN branch.