biovec icon indicating copy to clipboard operation
biovec copied to clipboard

Train model using corpus

Open rajgar114 opened this issue 3 years ago • 2 comments

I have my corpus file. I need to train the model from this corpus file. I used the method described below -

pv = biovec.models.ProtVec( corpus="output_corpusfile_path.txt", n=3)

but this didn't worked. Is there any way to train model directly from the corpus i.e without using fasta representation?

rajgar114 avatar Aug 04 '21 07:08 rajgar114

raise Exception("Model has never trained this n-gram: " + ngram) Exception: Model has never trained this n-gram: WNA

How to rectify this

devhimd19 avatar Aug 27 '21 10:08 devhimd19

@rajgar114 Could you show me more details like error message?

kyu999 avatar Sep 03 '21 02:09 kyu999