Write operators: create directory if not exists option
Frank
New Altair Community Member
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
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
Tagged:
0
Answers
-
Hi Frank,
good point. I added an internal feature request for that.
Best regards,
Marius0