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

singlepointsinglepoint Member Posts: 2 Contributor I
edited November 2018 in Help
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.

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    did you take a look into the meta data view if there are any missing values in the data set?

    Greetings,
      Sebastian
Sign In or Register to comment.