18:46:23 CONFIG: Trying rcfile 'C:\Dokumente und Einstellungen\Michael\Eigene Dateien\NetBeansProjects\jRapidMiner\rapidminerrc'.skipped (ParameterService.loadRCFile()) 18:46:23 CONFIG: Read rcfile 'C:\Dokumente und Einstellungen\Michael\.RapidMiner5\5_0_1_rapidminerrc.Windows XP'. 18:46:23 CONFIG: Trying rcfile 'C:\Dokumente und Einstellungen\Michael\.RapidMiner5\5_0_1_rapidminerrc'.skipped (ParameterService.loadRCFile()) 18:46:23 CONFIG: Reading configuration resource com/rapidminer/resources/rapidminerrc. 18:46:23 CONFIG: Reading Configuration Files (RapidMiner.splashMessage()) 18:46:23 CONFIG: Ensuring RapidMiner Home is set (RapidMiner.splashMessage()) 18:46:23 CONFIG: Initializing I18N (RapidMiner.splashMessage()) There is a basic error in the Java code ?! So either I always install my software with the wrong configuration or Meanwhile I tested the posted Java code on Windows XP with RapidMiner 5.0 with a different workflow. Access)'Ģ:23:36 PM .JDBCProperties registerDrivers WARNING: Missing database driver class name for 'ODBC Bridge (e.g. WARNING: No operator descriptor defined for: CommunityĢ:23:36 PM .JDBCProperties INFO: No operator descriptor specified for plugin Community. WARNING: Password in XML file looks like unencrypted plain text.Ģ:23:36 PM .Plugin registerOperators INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.Ģ:23:34 PM decryptPassword INFO: is 'C:/Program Files/Rapid-I/RapidMiner5/'.Ģ:23:32 PM init String workflow = "D:/RapidMinerRepository/myprocess.xml" Ģ:23:32 PM com.rapid_i.Launcher ensureRapidMinerHomeSet String rapidMinerHome = "C:/Program Files/Rapid-I/RapidMiner5/" Here is the Java version, to be sure that it is not a problem of Jython (in fact: it isn't !): Process(.) fails with both "UTF-8" and "UTF-16". Process = Process('D:/RapidMinerRepository/myprocess.xml') # load the XML workflow for parsing and processing Print 'First node is:',document.getDocumentElement().getNodeName() Input = FileInputStream('D:/RapidMinerRepository/myprocess.xml') # check wether Java can parse the XML fileįrom import StreamSourceįrom import StreamResultįrom import DocumentBuilderFactoryįactory = DocumentBuilderFactory.newInstance() Print "init done (%.1f sec).\n" % (time.time()-start) tExecutionMode(ExecutionMode.COMMAND_LINE) If I use "UTF-8" but fails with the same error by using "UTF-16": Meanwhile I added some Java XML-parsing and this works fine, The workflow works well in the GUI and in the forum I didn't find any solution, so how to fix it?Ĭheckign the XML was the first thing I did and it was OK. :1:1: Content is not allowed in prolog.Īt (Process.java:1080)Īt (Process.java:1055)Īt .(Process.java:254)Īt 0(Native Method)Īt (Unknown Source)Īt (Unknown Source)Īt .newInstance(Unknown Source)Īt .constructProxy(PyReflectedConstructor.java:210)Ĭom.: : Cannot parse document: Content is not allowed in prolog. On running it i get a problem in the Process-line:ħ:56:26 AM com.rapid_i.Launcher ensureRapidMinerHomeSet Process = Process('D:/RapidMinerRepository/PolynomOptimierung.rmp') To make it easier for me I use Jython instead of Java, In this sample we are using an open-source IDE platform called NetBeans (version 7.I just started to try to implement RapidMiner into my own application. In this section we will enlist a few advantages of IDE usage. It is much more easier to develop a strategy in some kind of Integrated Development Environment (IDE) than to write the code directly in the code editor of the jForex platform. Locate the Main.java, change in the source code userName and password to the ones of your account and select Run File: To start working with JForex SDK in Netbeans do the following:ĭownload NetBeans IDE with Java SE from ĭownload the maven project and unpack the zip file. Indicator with inputs of different periods Indicator that uses the output of another indicator Strategy interacting with a chart object
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |