Binary ExampleSet Writer and Loader

kochan
kochan New Altair Community Member
edited November 5 in Community Q&A

How about having a binary rapidminer specific format for fast saving and loading of examplesets. I assume that it would be easy to implement using Javas build in serialization functionality. I would also provide a work-around for another problem, which is due to the encoding of the text file when using ExampleSetWriter. I work mostly with unicode text mining and saving an exampleset to a textfile and loading it again sometimes causes problems.

Regards,

Andreas
Tagged:

Answers

  • fischer
    fischer New Altair Community Member
    Hi Andreas,

    use the IOObjectWriter/Loader and set output_type to binary. It does exactly that. This probably not the best way to save example sets, though. For 5.0 we have a custom binary protocol which can be used for example sets.

    Cheers,
    Simon
  • kochan
    kochan New Altair Community Member
    Great, thanks for the tip. I wasn't aware of that possibility.

    Regards,

    Andreas