def __str__(self):
    ' Return an easy-to-read string representation.'
    string_return = [list(map(list, self.encoder.toarray()))]
    dec_str = '['
    for term in self.decoder:
        dec_str += (term.__str__() + ',')
    dec_str = dec_str[:(- 1)]
    string_return.append((dec_str + ']'))
    return str(string_return)
Return an easy-to-read string representation.
def __str__(self):
    ' '
    string_return = [list(map(list, self.encoder.toarray()))]
    dec_str = '['
    for term in self.decoder:
        dec_str += (term.__str__() + ',')
    dec_str = dec_str[:(- 1)]
    string_return.append((dec_str + ']'))
    return str(string_return)