Pages: [1] 2 3 ... 10
 1 
 on: April 27, 2015, 11:07:08 PM 
Started by Heinz - Last post by Heinz
Hi rapid-i community,

I like to build a recommendation system using an ontologie. Thanks to the RMonto there's no problem to use RDF data. Further, my aim is to use a complex inference mechanism which analyses the properties paths (related instances) of already by the individual user rated items to find the most-likely matching ones. The mechanism is called 'filtering by property sequence', calculates the 'semantic intensity' of each item along the sequence of related items to the user rated item(s) and stops if the semantic intensity fall below a certain threshold. (The benefit of this approach is that unknow relations can be identifiyed und interpreted in the context of the (known)user's preferences.)

I'd like to ask, if anybody has an idea how to model this process in RM.
So far my only approach was to to make SPARQLs, but this seems to miss some possible property sequences and is also not the most efficient one. Unluckyly the search for an extension or at least a code basis for java plugin was without results. So, it would be great if there's someone with RDF/ OWL expertise who has a smart idea!

Thanks in advance.

Heinz

 2 
 on: April 27, 2015, 10:55:07 PM 
Started by edgardo - Last post by edgardo
Hi, i want to know if there's a way to  create a process in java, no using something like that:

   Process process = new Process(new File("rmp file path"));

i want to create that rpm file.

thanks


 3 
 on: April 27, 2015, 08:48:24 PM 
Started by corkie - Last post by Steve P
Hi Marco,

That's good news.  Thanks for the heads up.

-Steve

 4 
 on: April 27, 2015, 07:58:04 PM 
Started by Duha - Last post by Duha
Thanks for the process, I'll try it.

About the extension yes it's the same version. I just put it in the lib/plugins folder. Is this all I have to do for the extension to work?
How to check if the random seed is identical ?

Regards,
Duha

 5 
 on: April 27, 2015, 07:22:32 PM 
Started by anik - Last post by anik
I have created one association rule mining process in RapidMiner and calling it from JAVA application.. But, it's not printing any output..But, it's showing "Process finished successfully after 0 s"...

This is what showing in console:

Code:
Apr 27, 2015 11:01:56 PM com.rapidminer.tools.I18N <clinit>
INFO: Set locale to en.
Apr 27, 2015 11:01:56 PM com.rapidminer.tools.PlatformUtilities logInfo
INFO: rapidminer.home is 'C:\Program Files\RapidMiner\RapidMiner Studio'.
Apr 27, 2015 11:01:57 PM com.rapidminer.license.ProductConstraintManager initialize
INFO: Initializing license manager.
Apr 27, 2015 11:01:57 PM com.rapidminer.license.ProductConstraintManager initialize
INFO: Using default license location.
Apr 27, 2015 11:01:57 PM com.rapidminer.license.ProductConstraintManager initialize
INFO: Registering default product.
Apr 27, 2015 11:01:58 PM com.rapidminer.tools.plugin.Plugin registerPlugins
INFO: Register plugin: Cloud Connectivity
Apr 27, 2015 11:01:58 PM com.rapidminer.tools.plugin.Plugin registerPlugins
INFO: Register plugin: Cloud Execution
Apr 27, 2015 11:01:58 PM com.rapidminer.tools.plugin.Plugin registerPlugins
INFO: Register plugin: Data Editor
Apr 27, 2015 11:01:58 PM com.rapidminer.tools.plugin.Plugin registerPlugins
INFO: Register plugin: Operator Recommender
Apr 27, 2015 11:01:58 PM com.rapidminer.tools.plugin.Plugin registerPlugins
INFO: Register plugin: Process Scheduling
Apr 27, 2015 11:01:58 PM com.rapidminer.tools.plugin.Plugin registerPlugins
INFO: Register plugin: Social Media
Apr 27, 2015 11:01:58 PM com.rapidminer.tools.plugin.Plugin registerPlugins
INFO: Register plugin: Text Processing
Apr 27, 2015 11:01:58 PM com.rapidminer.tools.config.ConfigurationManager register
INFO: Registered configurator Salesforce Connection.
Apr 27, 2015 11:01:58 PM com.rapidminer.tools.config.ConfigurationManager register
INFO: Registered configurator Amazon S3 Connection.
Apr 27, 2015 11:01:58 PM com.rapidminer.tools.config.ConfigurationManager register
INFO: Registered configurator Dropbox Connection.
Apr 27, 2015 11:01:58 PM com.rapidminer.tools.config.ConfigurationManager register
INFO: Registered configurator Twitter Connection.
Apr 27, 2015 11:01:59 PM com.rapidminer.tools.expression.parser.ExpressionParserFactory <clinit>
INFO: Default version of expression parser registered successfully
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver com.mysql.jdbc.Driver not found. Probably the driver is not installed.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver org.postgresql.Driver not found. Probably the driver is not installed.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver net.sourceforge.jtds.jdbc.Driver not found. Probably the driver is not installed.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver org.hsqldb.jdbcDriver not found. Probably the driver is not installed.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.jdbc.JDBCProperties <init>
WARNING: Missing database driver class name for ODBC Bridge (e.g. Access)
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver net.sourceforge.jtds.jdbc.Driver not found. Probably the driver is not installed.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver com.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver oracle.jdbc.driver.OracleDriver not found. Probably the driver is not installed.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver com.microsoft.sqlserver.jdbc.SQLServerDriver not found. Probably the driver is not installed.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
INFO: Load configuration for Amazon S3 Connection.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.config.ClientConfigurationManager loadAllParameters
INFO: No configuration file found for Amazon S3 Connection
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
INFO: Loaded configurations for 0 objects of type Amazon S3 Connection.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
INFO: Load configuration for Dropbox Connection.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.config.ClientConfigurationManager loadAllParameters
INFO: No configuration file found for Dropbox Connection
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
INFO: Loaded configurations for 0 objects of type Dropbox Connection.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
INFO: Load configuration for Salesforce Connection.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.config.ClientConfigurationManager loadAllParameters
INFO: No configuration file found for Salesforce Connection
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
INFO: Loaded configurations for 0 objects of type Salesforce Connection.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
INFO: Load configuration for Twitter Connection.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.config.ClientConfigurationManager loadAllParameters
INFO: No configuration file found for Twitter Connection
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
INFO: Loaded configurations for 0 objects of type Twitter Connection.
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.WrapperLoggingHandler log
INFO: No filename given for result file, using stdout for logging results!
Apr 27, 2015 11:02:02 PM com.rapidminer.Process run
INFO: Process C:\Users\anik1\.RapidMiner\repositories\NewLocalRepository\R.rmp starts
Apr 27, 2015 11:02:02 PM com.rapidminer.Process run
INFO: Process C:\Users\anik1\.RapidMiner\repositories\NewLocalRepository\R.rmp finished successfully after 0 s
Apr 27, 2015 11:02:02 PM com.rapidminer.tools.WrapperLoggingHandler log
INFO: No filename given for result file, using stdout for logging results!
Apr 27, 2015 11:02:02 PM com.rapidminer.Process run
INFO: Process C:\Users\anik1\.RapidMiner\repositories\NewLocalRepository\R.rmp starts
Apr 27, 2015 11:02:02 PM com.rapidminer.Process run
INFO: Process C:\Users\anik1\.RapidMiner\repositories\NewLocalRepository\R.rmp finished successfully after 0 s


And my java code looks like this:

Code:
import com.rapidminer.Process;
import com.rapidminer.RapidMiner;
import com.rapidminer.RepositoryProcessLocation;
import com.rapidminer.operator.Operator;
import com.rapidminer.operator.OperatorException;
import com.rapidminer.operator.io.ExcelExampleSource;
import com.rapidminer.repository.RepositoryLocation;
import com.rapidminer.tools.XMLException;
import com.rapidminer.example.Attribute;
import com.rapidminer.RapidMiner;
import com.rapidminer.Process;
import com.rapidminer.example.Attribute;
import com.rapidminer.example.Example;
import com.rapidminer.example.ExampleSet;
import com.rapidminer.operator.IOContainer;
import com.rapidminer.operator.Operator;
import com.rapidminer.operator.OperatorException;



import java.io.File;
import java.io.IOException;
import java.util.Iterator;
import com.rapidminer.operator.io.ExcelExampleSource;
import com.rapidminer.tools.XMLException;
import java.io.File;
import java.io.IOException;
import java.lang.Object;
import java.io.File;

import com.rapidminer.RapidMiner.ExecutionMode;
import com.rapidminer.example.Attributes;
import com.rapidminer.example.Example;
import com.rapidminer.example.ExampleSet;
import com.rapidminer.example.set.SimpleExampleSet;
import com.rapidminer.operator.IOContainer;
import com.rapidminer.operator.IOObject;
import com.rapidminer.repository.IOObjectEntry;
import com.rapidminer.operator.ModelApplier;
import com.rapidminer.operator.Operator;
import com.rapidminer.operator.io.ModelLoader;
import com.rapidminer.tools.OperatorService;

public class Classification {


      public static void main(String[] args) throws Exception {
      ExampleSet resultSet1 = null;
      //IOContainer ioInput = null;
      //IOContainer ioResult = null;
      try{
         // Init RapidMiner
         RapidMiner.setExecutionMode(ExecutionMode.COMMAND_LINE);
         RapidMiner.init();
         
        // Path to process-definition
         String pr = "C:\\Users\\anik1\\.RapidMiner\\repositories\\NewLocalRepository\\R.rmp";
         // Load process
         com.rapidminer.Process process = new com.rapidminer.Process(new File(pr));
         process.run();
         
         IOContainer ioResult = process.run();
         if (ioResult.getElementAt(0) instanceof ExampleSet) {
             ExampleSet resultSet = (ExampleSet) ioResult.getElementAt(0);

             for (Example example : resultSet) {
                 Iterator<Attribute> allAtts = example.getAttributes().allAttributes();
                     while (allAtts.hasNext()) {
                         Attribute a = allAtts.next();
                         if (a.isNumerical()) {
                             double value = example.getValue(a);
                             System.out.print(value + " ");
                         } else {
                             String value = example.getNominalValue(a);
                             System.out.print(value + " ");
                         }
                     }
                     System.out.println("\n");
              }
         }
         
       
         //System.out.println(process.run());
      }catch (IOException | XMLException | OperatorException ex){
      ex.printStackTrace();
     
   }
}
}


Can anyone please solve this issue? Huh
Help is highly appreciated....

 6 
 on: April 27, 2015, 06:47:32 PM 
Started by ouverz - Last post by ouverz
Hi there

I am a newbie of rapidMiner and have been trying to find a simple solution to limit rapidMiner's free memory usage, I reckon its more related to java though. I have 4GB RAM on a Macbook pro retina, the data I am processing is not large (20MB ~) and the program freezes up lots of times.

Could someone please provide me with a solution to limit the memory usage ?

Regards
Ofer

 7 
 on: April 27, 2015, 09:51:08 AM 
Started by SvenVanPoucke - Last post by SvenVanPoucke
Can't wait to find a complete solution to analyse this database. If we could succeed in that it would be 1-0 Rapidminer vs MIT (Boston) Wink

 8 
 on: April 27, 2015, 08:35:37 AM 
Started by corkie - Last post by Marco Boeck
Hi,

sadly installing the old R extension can be a pain or simply refuse to work for some reasons. I'm afraid I don't know hot to help you with your exact problem right now, but we have been working on something which will make using R (and getting it to work in the first place) significantly easier, and it's not far away.
All I can say right now is: stay tuned for the next Studio release coming very soon Wink

Regards,
Marco

 9 
 on: April 27, 2015, 08:19:20 AM 
Started by Duha - Last post by Marco Boeck
Hi,

1)
- are you using the same version of the Text extension in both GUI mode and your code?
- is the random seed for the process identical in both GUI mode and your code?

2) I think you want to create a document from the user input? If so, probably the easiest way is to use a macro. Replace the "Process Documents from Files" operator with a "Create Document" operator which delivers its data to a "Process Documents" operator. Before executing the process, set the macro like so:

Code:
process.getMacroHandler().addMacro("user_input", "yourUserData");


For the process itself, see below:

Code:
<?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.0.002" expanded="true" name="Process">
    <process expanded="true">
      <operator activated="true" class="retrieve" compatibility="6.4.000" expanded="true" height="60" name="Retrieve" width="90" x="45" y="30">
        <parameter key="repository_entry" value="C:\Users\WINDOWS 7\.RapidMiner5\repositories\NewLocalRepository\wordlistAr"/>
      </operator>
      <operator activated="true" class="retrieve" compatibility="6.4.000" expanded="true" height="60" name="Retrieve (2)" width="90" x="246" y="30">
        <parameter key="repository_entry" value="C:\Users\WINDOWS 7\.RapidMiner5\repositories\NewLocalRepository\modelAr"/>
      </operator>
      <operator activated="true" class="text:create_document" compatibility="6.4.000" expanded="true" height="60" name="Create Document" width="90" x="45" y="120">
        <parameter key="text" value="%{user_input}"/>
      </operator>
      <operator activated="true" class="text:process_documents" compatibility="6.4.000" expanded="true" height="94" name="Process Documents" width="90" x="246" y="120">
        <process expanded="true">
          <operator activated="true" class="text:tokenize" compatibility="6.4.000" expanded="true" height="60" name="Tokenize" width="90" x="45" y="30"/>
          <operator activated="true" class="text:filter_stopwords_arabic" compatibility="6.4.000" expanded="true" height="60" name="Filter Stopwords (Arabic)" width="90" x="179" y="30"/>
          <operator activated="true" class="text:generate_n_grams_terms" compatibility="6.4.000" expanded="true" height="60" name="Generate n-Grams (Terms)" width="90" x="313" y="30">
            <parameter key="max_length" value="1"/>
          </operator>
          <connect from_port="document" to_op="Tokenize" to_port="document"/>
          <connect from_op="Tokenize" from_port="document" to_op="Filter Stopwords (Arabic)" to_port="document"/>
          <connect from_op="Filter Stopwords (Arabic)" from_port="document" to_op="Generate n-Grams (Terms)" to_port="document"/>
          <connect from_op="Generate n-Grams (Terms)" from_port="document" to_port="document 1"/>
          <portSpacing port="source_document" spacing="0"/>
          <portSpacing port="sink_document 1" spacing="0"/>
          <portSpacing port="sink_document 2" spacing="0"/>
        </process>
      </operator>
      <operator activated="true" class="apply_model" compatibility="6.4.000" expanded="true" height="76" name="Apply Model" width="90" x="380" y="30">
        <list key="application_parameters"/>
      </operator>
      <connect from_op="Retrieve" from_port="output" to_op="Process Documents" to_port="word list"/>
      <connect from_op="Retrieve (2)" from_port="output" to_op="Apply Model" to_port="model"/>
      <connect from_op="Create Document" from_port="output" to_op="Process Documents" to_port="documents 1"/>
      <connect from_op="Process Documents" from_port="example set" to_op="Apply Model" to_port="unlabelled data"/>
      <connect from_op="Apply Model" from_port="labelled data" to_port="result 1"/>
      <portSpacing port="source_input 1" spacing="0"/>
      <portSpacing port="sink_result 1" spacing="0"/>
      <portSpacing port="sink_result 2" spacing="0"/>
    </process>
  </operator>
</process>

Regards,
Marco

 10 
 on: April 26, 2015, 11:40:30 AM 
Started by SvenVanPoucke - Last post by Martin Schmitz
I now have a physionet acc. and applied for accsess. Lets see.

Pages: [1] 2 3 ... 10