Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
"W-GeneralizedSequentialPatterns Error"
Hi, I want to find Sequential Patterns in my Data using the W-GeneralizedSequentialPatterns. I am getting the following error :
[Fatal] Process failed: W-GeneralizedSequentialPatterns caused an error: weka.core.NoSupportForMissingValuesException: weka.associations.GeneralizedSequentialPatterns: Cannot handle missing values!
But I am pretty sure that there are no missing values in the data. I am using Customer_ID, date , Product_ID attributes which are not null and I even have a MissingValueReplenishment OP in my Process.
<operator name="Root" class="Process" expanded="yes">
<operator name="DatabaseExampleSource" class="DatabaseExampleSource">
<parameter key="database_system" value="PostgreSQL"/>
<parameter key="database_url" value="xxx"/>
<parameter key="username" value="xxx"/>
<parameter key="password" value="xxx"/>
<parameter key="query" value="select subject_id,date_entered,dim_product_id from basket where subject_id is not null and date_entered is not null and dim_product_id is not null order by 1 "/>
</operator>
<operator name="Numerical2FormattedNominal" class="Numerical2FormattedNominal">
<parameter key="use_grouping" value="true"/>
</operator>
<operator name="MissingValueReplenishment" class="MissingValueReplenishment">
<list key="columns">
</list>
</operator>
<operator name="W-GeneralizedSequentialPatterns" class="W-GeneralizedSequentialPatterns">
</operator>
</operator>
Can anyone find the error or is using another OP for SequentialPatterns ?
Thanks in advance, Birger
[Fatal] Process failed: W-GeneralizedSequentialPatterns caused an error: weka.core.NoSupportForMissingValuesException: weka.associations.GeneralizedSequentialPatterns: Cannot handle missing values!
But I am pretty sure that there are no missing values in the data. I am using Customer_ID, date , Product_ID attributes which are not null and I even have a MissingValueReplenishment OP in my Process.
<operator name="Root" class="Process" expanded="yes">
<operator name="DatabaseExampleSource" class="DatabaseExampleSource">
<parameter key="database_system" value="PostgreSQL"/>
<parameter key="database_url" value="xxx"/>
<parameter key="username" value="xxx"/>
<parameter key="password" value="xxx"/>
<parameter key="query" value="select subject_id,date_entered,dim_product_id from basket where subject_id is not null and date_entered is not null and dim_product_id is not null order by 1 "/>
</operator>
<operator name="Numerical2FormattedNominal" class="Numerical2FormattedNominal">
<parameter key="use_grouping" value="true"/>
</operator>
<operator name="MissingValueReplenishment" class="MissingValueReplenishment">
<list key="columns">
</list>
</operator>
<operator name="W-GeneralizedSequentialPatterns" class="W-GeneralizedSequentialPatterns">
</operator>
</operator>
Can anyone find the error or is using another OP for SequentialPatterns ?
Thanks in advance, Birger
Tagged:
0
Answers
I have no experience with this operator, but before our forum crashed there already was a solution using weka directly, I think. For those who prefer to stick with RapidMiner (and a gui), there's a commercial extension available providing a Generalized Sequential Patterns operator.
Greetings,
Sebastian