Hi Saurabh, I am a little confused why you need a byte[]. Can't you do this:
1. split your data into 5-folds. (it doesn’t have to be 5, but it is a more concrete example) 2. train on 4 folds. test on 1. (run 5 times changing the test set) 3. look at the average agreement. I am a little different than most. My final model would use ALL the data. I x-validate to get an idea of robustness, accuracy, and variance. Daniel > On Apr 21, 2017, at 9:17 AM, Saurabh Jain <[email protected]> wrote: > > Hi All > > I have defined feature generator for OpenNLP name finder in java source > code as an object of *CachedFeatureGenerator *. I have to cross validate > NameFinder and whatever api I am able to find in code accepts feature > generators as byte array. Problem is *CachedFeatureGenerator *is not > serializable (as far as I came to know). Is there any api in OpenNLP > NameFinder for cross validation which accept *CachedFeatureGenerator *as > feature generator or is there any other way ? > > -- > *Thanks & Regards* > > > *Saurabh Jain * > *AI Developer* > > *Active Intelligence * > > *"* > *To do a thing yesterday was the best time . Second best time is today .” *
