(self, vect)
return np.array(smiles)
Performs a conversion of a vectorized SMILES to a smiles strings
        charset must be the same as used for vectorization.
        #Arguments
            vect: Numpy array of vectorized SMILES.
Performs a conversion of a vectorized SMILES to a smiles strings
        charset must be the same as used for vectorization.
        #Arguments
            vect: Numpy array of vectorized SMILES.
Performs a conversion of a vectorized SMILES to a smiles strings charset must be the same as used for vectorization . #Arguments vect : Numpy array of vectorized SMILES .
def reverse_transform(self, vect):
        """ Performs a conversion of a vectorized SMILES to a smiles strings
        charset must be the same as used for vectorization.
        #Arguments
            vect: Numpy array of vectorized SMILES.
        """
        smiles = []
        for v in vect:
            # mask v
            v = v[v.sum(axis=1) == 1]
            # Find one hot encoded index with argmax, translate to char
            # and join to string
            smile = "".join(self._int_to_char[i] for i in v.argmax(axis=1))
            smiles.append(smile)
        return np.array(smiles)
def reverse_transform ( self , vect ) : smiles = [ ] for v in vect : # mask v v = v [ v . sum ( axis = 1 ) == 1 ] # Find one hot encoded index with argmax, translate to char # and join to string smile = "" . join ( self . _int_to_char [ i ] for i in v . argmax ( axis = 1 ) ) smiles . append ( smile ) return np . array ( smiles )