A program to recognize and reward our most engaged community members
Marco Boeck wrote:I assume the goal is to test the extension on different OS? If so, you can just install Studio on these systems and place your extension in the USER_HOME/.RapidMiner/extensions folder. It will be picked up by Studio 6.4 and later and will be loaded by Studio.
/** * Initializes the current version by reading the version.properties file */ private static void initializeReleaseVersion() { synchronized (INIT_VERSION_LOCK) { currentVersion = readResourceProperty(VERSION_PROPERTY_KEY); if (currentVersion == null) { logInfo("Could not read current version from resources. Looking for 'gradle.properties'..."); currentVersion = readConfigProperty(GRADLE_PROPERTIES, VERSION_PROPERTY_KEY); if (currentVersion == null) { throw new IllegalStateException("Could not initialize RapidMiner Studio version from properties file"); } } } }
Exception: java.lang.ArrayIndexOutOfBoundsExceptionMessage: 11Stack trace: cl.stringcoordinate.StringCoordinate.learn(StringCoordinate.java:291) com.rapidminer.operator.learner.AbstractLearner.doWork(AbstractLearner.java:142) com.rapidminer.operator.Operator.execute(Operator.java:974) com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:35) com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:779) com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:377) com.rapidminer.operator.Operator.execute(Operator.java:974) com.rapidminer.Process.run(Process.java:1037) com.rapidminer.Process.run(Process.java:939) com.rapidminer.Process.run(Process.java:892) com.rapidminer.Process.run(Process.java:887) com.rapidminer.Process.run(Process.java:877) com.rapidminer.gui.ProcessThread.run(ProcessThread.java:51)
<?xml version="1.0" encoding="UTF-8" standalone="no"?><process version="6.4.000"> <context> <input/> <output/> <macros/> </context> <operator activated="true" class="process" compatibility="6.4.000" expanded="true" name="Process"> <process expanded="true"> <operator activated="true" class="read_csv" compatibility="6.4.000" expanded="true" height="60" name="Read CSV" width="90" x="45" y="30"> <parameter key="csv_file" value="C:\Users\Martin\Desktop\database_polymer.csv"/> <parameter key="first_row_as_names" value="false"/> <list key="annotations"> <parameter key="0" value="Name"/> </list> <parameter key="encoding" value="windows-1252"/> <list key="data_set_meta_data_information"> <parameter key="0" value="pB.true.real.label"/> <parameter key="1" value="NA.true.integer.attribute"/> <parameter key="2" value="NB.true.integer.attribute"/> <parameter key="3" value="U.true.real.attribute"/> <parameter key="4" value="Rg2.true.real.attribute"/> <parameter key="5" value="a.true.real.attribute"/> <parameter key="6" value="Q4.true.real.attribute"/> <parameter key="7" value="Q6.true.real.attribute"/> <parameter key="8" value="I1.true.real.attribute"/> <parameter key="9" value="I2.true.real.attribute"/> <parameter key="10" value="I3.true.real.attribute"/> <parameter key="11" value="Ncore.true.integer.attribute"/> <parameter key="12" value="Nconpart.true.integer.attribute"/> <parameter key="13" value="Ncompactpart.true.integer.attribute"/> </list> </operator> <operator activated="true" class="normalize" compatibility="6.4.000" expanded="true" height="94" name="Normalize" width="90" x="313" y="75"/> <operator activated="true" class="stringcoordinate:string_coordinate_extension" compatibility="0.1.000" expanded="true" height="130" name="String Coordinate" width="90" x="514" y="75"> <parameter key="fixed_attribute" value="U"/> <parameter key="use_committor_data" value="true"/> <parameter key="attribute_for_NA" value="NA"/> <parameter key="attribute_for_NB" value="NB"/> <parameter key="reverse_string" value="true"/> </operator> <connect from_op="Read CSV" from_port="output" to_op="Normalize" to_port="example set input"/> <connect from_op="Normalize" from_port="example set output" to_op="String Coordinate" to_port="training set"/> <connect from_op="String Coordinate" from_port="model" to_port="result 1"/> <connect from_op="String Coordinate" from_port="stringCoordinateVisualization" to_port="result 2"/> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> <portSpacing port="sink_result 2" spacing="0"/> <portSpacing port="sink_result 3" spacing="0"/> </process> </operator></process>
Martin Schmitz wrote:Can you point me to some (industrial) use cases for this?
What is the implemented algorithm?I quickly scrolled over your diploma thesis. Is it the Metropolis Algorithm with the TPS?And know my key question: What and how to use it? So let me tell you how i think this extension is used:You have an inital set of (measured?) values for some polymer. This is the data in your .csv file. From "baseline" you try to simulate different other outcomes based on other conditions. Am I right with that?
If so - What could be other use cases for this?Think about the following: You have a company A producing a product, which is created in some chemical reaction based on a receipt. Using the receipts you can try to predict the quality of the product. Can your algorithm be used to predict other receipt <-> outcome pairs?
I have tested it on my windowsfirst it ran fine. After some changes on the settings (those you mention on your webpage) i got a Process failed - 11 error message.Stacktrace and process XML are attached.
Marco Boeck wrote:Hi,since 6.5 the main entry point is the com.rapidminer.launcher.GUILauncher class. If you use that to start Studio in Eclipse, it should find everything automatically.Regards,Marco
Martin Schmitz wrote:why don't you put the normalization inside your operator if it does not work otherwise? Would prevent people from doing "wrong" things.