-
Notifications
You must be signed in to change notification settings - Fork 153
Readable model dump. #43
Comments
I address the readable dump of DiFacto model by parsing the binary file saved via SaveModel, i.e Ideally we can abstract the Entry data and the internal storage in |
So my proposal above is mainly related to ps-lite. I'll try it out and make a WIP pull request there. |
yeah, that's good suggestion. i'll add a tool to convert the binary model into an ascii format. at the same time, i'm trying to refact fm into a separate repo called dmlc/difacto, with two major changes
i hope to get it done in a week. |
Very nice, Look forward to the changes :) |
Thanks and looking forward to the changes. : ) |
Any update on this? I'm also interested in the refactor of ps-lite. It has no update for two months. So is it finalized? |
@BaiGang "I address the readable dump of DiFacto model by parsing the binary file saved via SaveModel". Can you share me the parsing method? Thanks. |
see dump.cc |
there is a revert key id function, I guess it is called in the data reader
|
@toughJack Maybe you should change code in localizer.h like this.
|
@formath @toughJack see issues/8 |
you manually set the max_key, so the servers will only partition that key
|
@mli yes:) |
@CNevd Good suggestion. I always generate balanced uint64 feature id offline, so miss that. If max key is small, setting max_key is truly right. |
@mli |
On Thu, Aug 25, 2016 at 2:11 AM, Xiaoqiang Feng [email protected]
|
Hi,
Currently all learning methods in wormhole save resulted models in binary format. This is pretty well in cases of solving machine learning competitions, i.e training and predicting both using wormhole components. However in more general cases when we train the models offline and want to apply them in an online component (in our case it's a server running on JVM), the binary format results in some inconvenience. So a readable model output in text format (or other exchangeable format such as protobuf) is highly expected.
Thanks,
Gang
The text was updated successfully, but these errors were encountered: