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
"Move Rapidminer project from one eclipse installation to another"
Hello,
after not working on the project for a long time, I am finally in the process of finishing my Rapidminer extension to implement a method from computational physics. Now, in order to test it thoroughly, I would like to copy my whole Eclipse project to another machine, ideally on another platform (I did the development on Linux and would like to test everything on Mac OS and / or Windows as well).
So, in Eclipse, I did a File -> Export -> Archive File on the source machine, and then the same with "Import" on the target machine. However, there RM simply fails to run with the error "Could not find or load main class com.rapidminer.gui.RapidMinerGUI". The problem persists whether the target machine runs Linux or Mac OS, as a matter of fact, the Linux target is actually just the same Eclipse version on another user account of my source machine. It seems to me that some configuration is left from the original project that prevents the new project from properly executing RM, but I have so far not found out what exactly is the problem.
Thanks a lot for your help in advance!
Lennex
after not working on the project for a long time, I am finally in the process of finishing my Rapidminer extension to implement a method from computational physics. Now, in order to test it thoroughly, I would like to copy my whole Eclipse project to another machine, ideally on another platform (I did the development on Linux and would like to test everything on Mac OS and / or Windows as well).
So, in Eclipse, I did a File -> Export -> Archive File on the source machine, and then the same with "Import" on the target machine. However, there RM simply fails to run with the error "Could not find or load main class com.rapidminer.gui.RapidMinerGUI". The problem persists whether the target machine runs Linux or Mac OS, as a matter of fact, the Linux target is actually just the same Eclipse version on another user account of my source machine. It seems to me that some configuration is left from the original project that prevents the new project from properly executing RM, but I have so far not found out what exactly is the problem.
Thanks a lot for your help in advance!
Lennex
Tagged:
0
Answers
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.
Regards,
Marco
just for the record - i am very interested in that extension. I am holding a PhD in astro particle physics. Thus i am always curious what other physicists are doing with RM.
Cheers,
Martin
Dortmund, Germany
@Martin:
Don't worry, I will post the final result here soon :-).
Cheers,
Lennex
I'd encourage you to have a look at our Studio 6.5 Community release then because a lot has improved in the past years
https://rapidminer.com/get-more-open-core/
I can't really help with setting up 5.3 for development, sorry.
If I should hazard a guess, text fields are not working, correct? If so, pressing Enter after editing will fix that in 5.3.
Regards,
Marco
Cheers,
Christian
there was a bug having this effect. That happend because apple changed it java version. In 6.5 this should be fixed.
Bets,
Martin
Dortmund, Germany
"The import com.rapidminer.license cannot be resolved".
Apart from that, everything seems to work, but of course I cannot test it properly without the missing import.
Cheers,
Christian
did you refresh your Gradle dependencies?
Regards,
Marco
Cheers,
Lennex
that's our build system. We no longer use Ant but instead Gradle. Thus all the build.gradle files
You need to import that as a Gradle project in Eclipse and then refresh the Gradle dependencies.
An updated Developer "How to" will follow at some point, I don't have any dates though, I'm afraid.
Regards,
Marco
I still have a rather weird issue: when trying to start, I get an exception when RM tries to check its version. In particular, it is happening in PlatformUtilities.java, in the part the IllegalStateException is thrown. So far I have simply hardcoded the version number and commented the throw statement here, and now RM starts and works fine, but that seems like a rather stupid "solution"...
Anyway, thanks a lot for your patience!
Lennex
-Drapidminer.home=/path/to/my/directory/where/rm/resides
Then, the gradle.properties file is found without problems.
Cheers,
Lennex
Cheers,
Lennex
http://christian.leitold.info/index.php?page=string-coordinate
I'm afraid it's all rather technical if you are not from my particular field of computational physics, but maybe it's interesting anyway :-). Once the code is properly cleaned up and documented, I would also like to publish the extension at the Marketplace, are there any particular requirements apart from licensing it under AGPL 3?
Cheers,
Lennex
no, there are no particular requirements at the moment
Regards,
Marco
i tried out the extension and have a few questions:
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 windows
first 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.
Best,
Martin
Process
Dortmund, Germany
cool that you have already tested the extension. I will try to answer your questions one by one... In principle, with the string reaction coordinate, one should be able to predict the progress of _any_ process that has a well-defined start and end point. The basic idea is to project a very complex "reaction" or transition process, characterized by many variables or features, onto a one-dimensional progress coordinate ranging from say 0 (start) to 1 (end). So, that could have a lot of possible applications, the question is of course, is it able to perform better than existing machine learning techniques. Let's start with the polymer: it is similar to the one investigated in my diploma thesis, though there are differences. Basically, instead of using the Metropolis algorithm, we perform a Langevin molecular dynamics simulation. That is, the actual physical movement of the particles that comprise the polymer is simulated. The "Langevin" part of the simulation says that we also would like to consider the presence of some solvent, say, water, in an implicit way: by simply adding a friction term as well as random forces to the equation of motion.
Now, it turns out that when the conditions are right, that is, the temperature has a certain value, the polymer can exist in either one of two stable states: folded or unfolded. What we would like to learn is how the transition between these two states looks like, on a molecular level. The data present in the csv file are obtained by preparing the polymer in some "random" (intermediate) configuration and then start the simulation. After some time, the polymer will either end up in state A (unfolded) or state B (folded). Now, due to the stochastic nature of Langevin molecular dynamics, if we repeat this experiment many times, in the end, some number of simulations runs will have ended in A, and another number in B. That is what NA and NB in the data file means. pB, or the committor, is calculated as pB = NB / (NA + NB) and hence also called the folding probability, as it is the probability for a given configuration to end up in the folded state. All the other variables are characterizing the configuration of the polymer. So the _goal_ of the analysis is to predict the folding probability, pB, given a vector of variable characterizing the polymer configuration. I'm afraid it doesn't work that way. However, given some reaction, you might be able to predict what is the most efficient way to drive the reaction, i. e. the best receipt. OK, I have tried to run your process on my installation, it failed with the same error. I am pretty sure that the problem is in the normalization operator: it is not configured. The optimization in String Coordinate implicitly assumes that all variables (except NA and NB of course, which are integer numbers) are within [0, 1], so I use the range transformation. If values are way out of this range, for some so far unknown reason the operator fails with an ArrayIndexOutOfBoundsException. I will definitely investigate, thanks! I am on a conference right now, so it might take some time until I can find the problem.
Cheers,
Lennex
I can't find the launcher package or the GUILauncher class in the repository - https://github.com/rapidminer/rapidminer-studio/tree/master/src/main/java/com/rapidminer
Am I something missing or where is the class located?
Best wishes
Vaclav
sorry, my bad. Ignore that post
RapidMinerGUI.main() is fine.
Regards,
Marco
http://christian.leitold.info/index.php?page=string-coordinate
The bug actually didn't occur in the demo by pure chance, the normalization simply changed the order of attributes and thus prevented the bug from occurring. Now, while the extension now will not crash any more, it is still important to have all your attributes in the interval [0,1] to get meaningful results.
Cheers,
Lennex
why don't you put the normalization inside your operator if it does not work otherwise? Would prevent people from doing "wrong" things.
Cheers,
Martin
Dortmund, Germany
Cheers,
Lennex