Options

Write operators: create directory if not exists option

FrankFrank Member Posts: 4 Contributor I
edited June 2019 in Help
Hi,

I'm trying to do 10-Fold-Validation in a multi-label setting and write down the labeledData for each Fold and for each class label. (I am training a binary classifier for each class label)
When writing the data with the WriteCSV operator, i'm getting the error "The file 'D:\RapidMinerDocuments\defaultExperiment\run2\LabeledData\F2\C201010.csv' does not exists.". I assume that this is because a directory part of the path does not exists, (in this case the directory LabeledData and F2). When i create the directories manually the operator does work.

Therefore it would be nice to have an option in the Write operators to create directories in the path if they do not exists yet.

kind regards,

Frank

Answers

  • Options
    MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    Hi Frank,

    good point. I added an internal feature request for that.

    Best regards,
    Marius
Sign In or Register to comment.