1
$\begingroup$

Stats model or any other machine learning python packages for doing sequence classification(that can be multi class) and sequence prediction (Both next step and regression).

PS : Input data will be n number of sequences with their respective target (class/regression)

Also each sequences having finite number of events like E1,E2 ..

$\endgroup$
  • $\begingroup$ Are the sequences of fixed length? $\endgroup$ – Shubham Panchal May 17 '19 at 8:26
  • $\begingroup$ nope. It will be of varying length. Can we pad.? $\endgroup$ – IamTheRealFord May 17 '19 at 9:11
1
$\begingroup$

Have you thought of using Conditional Random Fields? I had used it for my thesis some years ago and papers from Prof. Sunita Sarawagi were a great resource for me. You can use the CRFsuite library which also offers a python wrapper.

|improve this answer|||||
$\endgroup$
  • $\begingroup$ Does this handles if target is regression.? Because i have already tried seqlearn, which uses HMM and classifies it. But the real problem here is conversion of class specific functions to regression value $\endgroup$ – IamTheRealFord May 17 '19 at 9:17
  • $\begingroup$ Do you really have a regression problem to solve or is it more of a multi-class classification problem? $\endgroup$ – mari May 17 '19 at 11:44
  • $\begingroup$ yes it involves regression too $\endgroup$ – IamTheRealFord May 17 '19 at 19:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.