"[SOLVED]Problem with the extension tutorial"

blatoo
blatoo New Altair Community Member
edited November 5 in Community Q&A
Hi all,

i try to learn how to write extension for RapidMiner, but I have a problem with the Tutorial "How to extend rapidminer", the Chapter 2 "Using the Scripting Operator" used a "Log" data set as example set, but I can not find where I can download the data set.  Can you tell me, where are the example data sets and where are the example codes?

Thanks very much!

Conny

Answers

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    I have bad news and good news for you.

    The bad: I'm afraid the Log data is not available anywhere.
    The good: You can easily substitute it with the "Iris" dataset. What the tutorial is trying to teach you is how to access existing data and manipulate it. You don't need the exact data described in the tutorial.
    What you need to do:
    • replace the "Log" data with the "Iris" data from the Samples repository
    • change the call from 'attributes.get("relative time")' to 'attributes.get("a1")'. In other words, you now take the "a1" attribute of the Deals data
    • change "Ontology .DATE TIME" to "Ontology.REAL". This means you want to create a numeric attribute instead of a datetime attribute. You could create a datetime attribute anyway, but it's kinda boring because it will only differ by seconds, if at all because the numbers are too small.
    The concept of things stays the same :)

    Regards,
    Marco
  • blatoo
    blatoo New Altair Community Member
    Hi Marco,

    Thanks very much for the answer! :D

    Best reguards

    Conny