ENgram-class: Extended N-gram model for learning SMILES strings

Description Methods Examples

Description

Extended N-gram model for learning SMILES strings

Methods

initialize(smis = NULL, order = NULL)

Initialize the extend N-gram model with SMILES strings smis and numeric value order

update_mat(data)

update the model with additional SMILES strings data

Examples

1
2
3
4
5
6
data(trainedSMI)
data(engram_5k)  #same as run => engram <- ENgram$new(trainedSMI, order=10)
#-----arguments
#smis: character vector, SMILES string set for training an extended N-gram model
#order: numeric, value representing the maximum order in modified N-gram model
#-----arguments

iqspr documentation built on Aug. 1, 2017, 9:02 a.m.