Tests and functionality for sequences as integers
Closed this issue · 1 comments
ilibarra commented
Using those two functions
Line 49 in 702a7e5
- Include in SelexDataset and in PBMDataset a parameter to encode sequences as integers when returning the objects i.e.
index_type
= int/str - Declare two tests
- Test one: load one dataset, encode the indexes as integers, and return that object.
- Test two: convert the sequences two indexes, the indexes to sequences, and verify that the initial vector of strings is the same as the converted one back and forth.
ege-erdogan commented
Merged to development
(PR #98).