Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
"Error getting IOContainer from Operator"
Hi,
perhaps this is because i am not familiar with the api so well.
I want to catch the ClusterModel from a DBSCAN Clustering.
For this I have defined a ProcessFile int the RapidMiner GUI with an Arff-ExampleSource, an DBSCAN Operator and a ClusterModelWriter.
I want to use this Processfile in Java and get the ClusterModel without writing it to the filesystem.
I load just the processfile, and try to adapt the usage of an IOContainer from the tutorial. (RapidMiner is initialized)
at com.rapidminer.operator.Operator.stop(Operator.java:741)
at com.rapidminer.operator.Operator.checkForStop(Operator.java:735)
at com.rapidminer.operator.Operator.apply(Operator.java:615)
what have I forgotten or missed?
I appreciate your help
Thomas
perhaps this is because i am not familiar with the api so well.
I want to catch the ClusterModel from a DBSCAN Clustering.
For this I have defined a ProcessFile int the RapidMiner GUI with an Arff-ExampleSource, an DBSCAN Operator and a ClusterModelWriter.
I want to use this Processfile in Java and get the ClusterModel without writing it to the filesystem.
I load just the processfile, and try to adapt the usage of an IOContainer from the tutorial. (RapidMiner is initialized)
but then i get an OperatorExceptionError:
Process clusterProcess = RapidMiner.readProcessFile(processFile);
Operator dbScanOperator = clusterProcess.getOperator("DBScanClustering");
IOContainer dbscIOContainer = dbScanOperator.apply(new IOContainer());
at com.rapidminer.operator.Operator.stop(Operator.java:741)
at com.rapidminer.operator.Operator.checkForStop(Operator.java:735)
at com.rapidminer.operator.Operator.apply(Operator.java:615)
what have I forgotten or missed?
I appreciate your help
Thomas
Tagged:
0
Answers
this way you are just applying your operator, not the whole process. So the arff file is not loaded, and the clustering algorithm cannot work.
This way it should work: Greetings,
Sebastian
thank you.
i was mistaken and thought i first define where to collect the
data into and then grab them after the process has run.
instead i first get my results by the run() method and then look where to get them from.
thank you for your help sebastian!