RapidMiner 9.7 is Now Available
Lots of amazing new improvements including true version control! Learn more about what's new here.
File source as input for custom operator in Rapidminer
i am trying to build a custom operator using the extension template available in github. i want my operator take file as an input and give example set as output. i am also using read document operator for getting the file input and using the output as an input for my operator. i have used the following code to achieve
FileObject fileSet = exampleSetInput.getData(FileObject.class);
but i get the following error when i run the operator
SEVERE: Process failed: Wrong input of type 'Document' at port 'example set'. Expected type 'File'.
can anybody help on how to use file source in input port of the operator ?