what is the maxspan of Generalized Sequential Patterns?

AP
AP New Altair Community Member
edited November 2024 in Community Q&A
what is the maxspan of Generalized Sequential Patterns?I have not found this parameter for operator Generalized Sequential Patterns?is there a default value?
Tagged:

Best Answer

  • Caperez
    Caperez Altair Community Member
    Answer ✓
    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

  • Caperez
    Caperez Altair Community Member
    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 
  • AP
    AP New Altair Community Member
    you mean  the windows size parameter of GSP is equivalent to maxspan ?
  • Caperez
    Caperez Altair Community Member
    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
  • AP
    AP New Altair Community Member
    there is no maxspan parameter for operator Generalized Sequential Patterns?why?
  • Caperez
    Caperez Altair Community Member
    Answer ✓
    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