Write CSV: append mode?

dcubeddcubed MemberPosts:6Contributor II
edited July 2019 inHelp
I am trying to use a WriteCSV process to write the output of an ApplyModel process within a Validation process.
I find that each ApplyModel output overwrites the content of my CSV file.
Is there a recommended mechanism to have WriteCSV create OR append to its output file?

If writing to a CSV or database isn't the best way of collecting the predictions generated by the ApplyModel during testing, what is suggested?














< portSpacing端口= " sink_through 1”间隔= " 0 " / >













<运营商激活= " true " class = " write_access”有限公司mpatibility="5.2.003" expanded="true" height="76" name="Write Access" width="90" x="56" y="273">


















Tagged:

Answers

  • MariusHelfMariusHelf RapidMiner Certified Expert, MemberPosts:1,869Unicorn
    Hi,

    for csv files it's currently not possible to append contents. Does Write Access also overwrite the database file, even if overwrite_mode is set to "append"?

    Why don't you want to collect the predictions in the process? That would be the best option, if your data is not too large to fit into memory.

    Btw, it would be more helpful if you posted your complete process xml. Xml of single operators can't be easily pasted into RapidMiner.

    Best, Marius
Sign InorRegisterto comment.