Options

what is the maxspan of Generalized Sequential Patterns?

APAP Member Posts: 37 Contributor II
what is the maxspan of Generalized Sequential Patterns?I have not found this parameter for operator Generalized Sequential Patterns?is there a default value?

Best Answer

  • Options
    ceaperezceaperez Member Posts: 522 Unicorn
    Solution Accepted
    Hi @AP
    as far as I know, this parameter is not part of the GSP algorithm. You can work with other variations like CloSpan, PrefixSpan for that.

    Best, 

    Cesar

Answers

  • Options
    ceaperezceaperez Member Posts: 522 Unicorn
    Hi @AP

    I worked with this parameter in other algorithms but not directly in GSP, but I think that the windows size parameter of GSP is equivalent in this case. 

    Best, 
    César 
  • Options
    APAP Member Posts: 37 Contributor II
    you mean  the windows size parameter of GSP is equivalent to maxspan ?
  • Options
    ceaperezceaperez Member Posts: 522 Unicorn
    Hi @AP
    I implemented the maxspan in python using the Clospan algorithm, not the GSP, but as mentioned this blog 
    http://simpledatamining.blogspot.com/2015/03/generalized-sequential-pattern-gsp.html

    " Window sizes limit the span of time when transactions are deemed to support a sequence.  (e.g. I only want buying patterns for pregnant women during a 9 month window)"

    best, 

    Cesar
  • Options
    APAP Member Posts: 37 Contributor II
    there is no maxspan parameter for operator Generalized Sequential Patterns?why?
Sign In or Register to comment.