The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Write operators: create directory if not exists option
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
0
Answers
good point. I added an internal feature request for that.
Best regards,
Marius