Accessing Confidence Scoring from C# C Sharp
scottkellman
New Altair Community Member
Answers
-
Hi, I'm sorry, I don't understand neither the question itself nor the relation to the subject line. Can you please be a bit more wordy?
Best regards,
Marius0 -
Sure, I am trying to run RM from the command line after sending in parameters and hoping to receive a confidence score back based on a learning set to rate the results passed in.
I used the following code to start my process:
ProcessStartInfo Info = new ProcessStartInfo("C:/Program Files/Rapid-I/RapidMiner/scripts/rapidminer.bat");
Info.UseShellExecute = false;
Info.ErrorDialog = false;
Info.CreateNoWindow = true;
Info.RedirectStandardOutput = true;
Info.Arguments = "C:/Program Files/Rapid-I/RapidMiner/scripts/01_ParameterOptimization.xml";
Process p = System.Diagnostics.Process.Start(Info);
System.IO.StreamReader oReader2 = p.StandardOutput;
string sRes = oReader2.ReadToEnd();
oReader2.Close();
the results say RAPIDMINER_HOME is not set...
How do I get results back?
0 -
Hi,
you need to design your RapidMiner process in a way that it stores the results in a repository (see the 'Store' operator) or on the file system itself via 'Write CSV' or 'Write Excel' or any other of the 'Write XYZ' operators. The results of a process will not be returned as output to the commandline. Also please note that RapidMiner is written in Java, so writing to the file system may be the easier way as opposed to use the RM Java library to work with the repository.
Regards,
Marco0 -
Marco,
Thanks. I am also having problems running the rapidminer.bat from a C# process, it keeps saying that a JDBC driver is missing. Any idea what this is referring to?
Scott0 -
Hi Scott,
You might give a try with IKVM, I had success starting RM with it (although it might be a good idea to create a backup from your .RapidMiner5 dir first).
Cheers, gabor0 -
Hola, con respecto a qué están hablando ambos, ¿cómo puedo predecir usando el modelo? Es decir como pasar al modelo nuevo archivo para predecir nuevas instancias? ¿Y la salida, es decir, el resultado, donde se almacena? En teoría mi proceso tiene como salida un archivo Excel. (CON write Excel )0
-
cc @rfuentealba0
-
@rodriguezestefa, ¿quieres que hablemos? No veo la conexión entre tu pregunta en castellano y lo que están conversando en esta pregunta. Te escribí un mensaje en privado.
Everyone: I just told @rodriguezestefa that I don't see a logic between her question in Spanish and what is being discussed on this thread, so I invited her to talk with me and see how can I help her.
@sgenzer, I also wrote you in private.
All the best,
Rodrigo.1