.... how about persisting the model itself into an Oracle column as a BLOB and have the AppServer read the model from the database. This way if the model gets updated, then all the applications would be reading off of the same model.
________________________________ From: Arun Avanathan <[email protected]> To: [email protected]; Suneel Marthi <[email protected]> Sent: Sunday, March 31, 2013 9:47 PM Subject: Re: ModelSerializer.writeToJson() Idea is to ETL the serialized models on a schedule basis from one application to another. War/Jar approach is another way of doing, but it needs shipping jars + the metadata around them by ETL. We use Oracle DB for this & it is getting a bit messy uploading these via SQLLoader to DB. Am looking for simpler options :) Thanks On Sun, Mar 31, 2013 at 6:41 PM, Suneel Marthi <[email protected]>wrote: > Why would you want to do that? Isn't it easier to just package the model > into your application war/jar and read the same a s ResourceStream as > opposed to what you are proposing? > > > > ________________________________ > From: Arun Avanathan <[email protected]> > To: [email protected] > Sent: Sunday, March 31, 2013 8:04 PM > Subject: ModelSerializer.writeToJson() > > All, > > I'm new to Mahout. So please bear with my dumb question. > > In 0.4 we had writeToJson() method, but I don't see it in 0.7 version. Is > there a way to serialize Models in json format? Idea is to store them in > Database & rebuild the models when the application server comes up. > > Thanks > Arun >
