GeneralizedSequentialPatterns | what should be the format for the input file?

singlepoint
singlepoint New Altair Community Member
edited November 5 in Community Q&A
Hey techies,

I have been trying to find some sequential patters from my data. I have data in the format,

248,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
248,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0
248,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
249,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
250,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0
250,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
251,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
252,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
253,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
253,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0
254,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
where first column is the sequence number and any column corresponding to a row is 1 if that value is present in the sequence. but I am getting missing value error all the times. Error says,

Error in: W-GeneralizedSequentialPatterns (W-GeneralizedSequentialPatterns) W-GeneralizedSequentialPatterns caused an error: weka.core.NoSupportForMissingValuesException: weka.associations.GeneralizedSequentialPatterns: Cannot handle missing values

Could anyone help me that. Its been a real embarrassment. Thanks in advance and its kind of urgent.
Tagged:

Answers

  • land
    land New Altair Community Member
    Hi,
    did you take a look into the meta data view if there are any missing values in the data set?

    Greetings,
      Sebastian