Seems like there's a built-in MarkovChain class by PredictionIO already that we can use. Code can be found here. Documentation can be found here.
However, I can't seem to access the e2 class from our project, as it says the package isn't there. We're probably on an older version of predictionIO but may be useful to upgrade to a newer version with e2, since it's a library that specializes in engine development and evaluation. The engine class of e2 has some other helpful algorithms too, including BinaryVectorizer and NaiveBayes.
Seems like there's a built-in MarkovChain class by PredictionIO already that we can use. Code can be found here. Documentation can be found here.
However, I can't seem to access the e2 class from our project, as it says the package isn't there. We're probably on an older version of predictionIO but may be useful to upgrade to a newer version with e2, since it's a library that specializes in engine development and evaluation. The engine class of e2 has some other helpful algorithms too, including BinaryVectorizer and NaiveBayes.