How to write batch process for Visualization using RM

studhadoop
studhadoop New Altair Community Member
edited November 5 in Community Q&A
I have a .csv file generated dynamically.
so i need to jst visualize the data within the csv file.

I imported the .csv file.It lead me through some dialogs.and created its data view ,When i clicked plot view....I was able to select x and y axis and plotted graph.


but am i able to do this automatically....scripts or something like that to load the csv file automatically and plot its graph?

Answers

  • earmijo
    earmijo New Altair Community Member
    I'm not an expert on that library, but sound like you need the "Reporting" extension.
  • studhadoop
    studhadoop New Altair Community Member
    I am using RapidMiner ...
    Is it able to do automatic report generation in RapidMiner
  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    yes as earmijo suggested, the Reporting extension is just for that. You can load data into your process, generate some plots with the operators provided by said extension, add them to a report and export it to .pdf, html, etc.

    Regards,
    Marco
  • studhadoop
    studhadoop New Altair Community Member
    can u give a simple example .Actually i am new to RapidMiner :(
    After downloading the extension what should i do???Little confused with-Should i drag and drop anything in GUI or directly import my .csv file(I need only graphs)

  • studhadoop
    studhadoop New Altair Community Member
    thanks for the reply

    I tried ...

    my xml file :https://github.com/studhadoop/rapidminer/blob/master/XML
    one of my csv file :https://github.com/studhadoop/rapidminer/blob/master/output.csv

    when i checked drawreport.pdf the file displays the header:visualization and a graph with only y axis .why is it so???
    Am i doing anything wrong .sould i change anything in my xml file .

    am i draging the right process ???

    for the time being i need a bar graph for all the csv files and save in different pdf
  • studhadoop
    studhadoop New Altair Community Member
    pls can u give me a screenshot for the same :(
  • Hello

    In the Report operator you need to set the "bars plot column" to current grade

    regards

    Andrew
  • studhadoop
    studhadoop New Altair Community Member
    thanks it works ;D :)


    What change should i make to my work...If i need different plotview for the same csv in same pdf
  • Hello

    If you make a copy of the operator that now works and paste it so that it is called immediately after you should find two identical graphs (although you are doing loops so I don't know what will happen precisely).

    If that works, modify the pasted operator to do what you want.

    Your original process was really very close so I will go quiet for a bit to allow you to make the final step alone. It will be for the best believe me.

    regards

    Andrew
  • studhadoop
    studhadoop New Altair Community Member
    ok  :)
  • studhadoop
    studhadoop New Altair Community Member
    hai ,
    how will i include generate portal in my process.
    sorry, ???
    I dont know where to connect the process
    my xml file:https://github.com/studhadoop/rapidminer/blob/master/generateportal
    i tried but showing im==null

    can any one tell me where to connect my generate_portal  :(