RapidMiner 9.7 is Now Available

Lots of amazing new improvements including true version control! Learn more about what's new here.

CLICK HERE TO DOWNLOAD

How do I name an example set?

GhostriderGhostrider Member Posts: 60  Maven
edited November 2018 in Help
I am writing a plug-in and I simply want to assign a name to an example set and then be able to read the name back at the next flow instance.  How do I do that?
Tagged:

Answers

  • fischerfischer Member Posts: 439  Maven
    Hi,

    As of one of the recent changes we have introduced annotations to IOObjects. You can just use

    ioobject.getAnnotations().setAnnotation("name", name);

    Here, "name" would be a custom key, maybe you want to use the Dublin Core annotation Annotations.KEY_DC_TITLE for a title instead.

    Cheers,
    Simon
Sign In or Register to comment.