The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"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