Options

Binary ExampleSet Writer and Loader

kochankochan Member Posts: 11 Contributor II
edited June 2019 in Help

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

Answers

  • Options
    fischerfischer Member Posts: 439 Maven
    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
  • Options
    kochankochan Member Posts: 11 Contributor II
    Great, thanks for the tip. I wasn't aware of that possibility.

    Regards,

    Andreas
Sign In or Register to comment.