Rapidminer (formerly Yale) is a very popular open-source data mining software. It not only provides a GUI data processing and analysis environment, it also provides Java APIs to embed its capabilities into other applications.Program. This article records some problems and solutions encountered when developing data analysis applications based on rapidminer.
BTW: There are two main reasons for choosing rapidminer instead of WEKA: 1. rapidminer is more convenient for Java Development. 2. rapidminer provides free license and license TiAl license at the same time, WEKA only provides GNU license (which cannot be used to develop commercial software)
1. rapidminer 4.3 is installed, but an exception "Java. Lang. unsupportedclassversionerror: bad version number in. Class file" is thrown when rapidminer. INIT () is executed"
Rapidminer 4.3 is compiled with jdk1.6 (although it can be compiled with 1.5). Therefore, the above exception will be thrown when calling in JDK or a later version. There are two solutions: Install jdk1.6 and download rapidminer from CVS.Source codeCompile and export the JAR file in 1.5. Reference
2. When executing rapidminer. INIT () in the eclipse application, the message "Java. Lang. illegalargumentexception: URI scheme is not" file "is displayed ""
You need to set the environment variable "rapidminer. Home" to the rapidminer installation directory so that the "rapidminerrc" file can be found during initialization. Even if rapidminer is not installed, make sure that there is a "etc" directory with the "rapidminerrc" file. (Another way is to set the "rapidminer. rcfile" environment variable to point to the rapidminerrc file, not tested)
3. When executing rapidminer. INIT () in the eclipse application, the system prompts "[Error] cannot find 'operators. xml '."
Tracked rapidminerCodeAnd put the operators. xml file in the com. rapidminer. Resources package under classpath. Therefore, in combination with the above question, the code that can be executed is as follows:
System. setproperty (rapidminer. property_rapidminer_home, "d:/eclipse3.4m7/workspace/Yale"); Rapidminer. INIT ();