A program to recognize and reward our most engaged community members
RepositoryLocation location;RapidMiner.setExecutionMode(ExecutionMode.COMMAND_LINE);RapidMiner.init();try { location = new RepositoryLocation("//LocalRepository/Test/MyProcessName"); Entry entry = location.locateEntry(); if (entry instanceof ProcessEntry) { Process process = new RepositoryProcessLocation(location).load(null); IOContainer resultContainer = process.run(new IOContainer(new LinkedList<IOObject>())); // instead of creating an empty list with IOObjects here, you need to create the list before and fill it with the stuff you need }}
InputStream is = myClassObject.getClass().getResourceAsStream("/myProcess.rmp");String xML = Tools.readTextFile(is);Process process = new Process(xML);