Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression-based outcome #2

Open
dmracek opened this issue Apr 21, 2021 · 1 comment
Open

Regression-based outcome #2

dmracek opened this issue Apr 21, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@dmracek
Copy link

dmracek commented Apr 21, 2021

Hello, thank you for sharing this repo. Do you have plans for providing capability for a regression-based outcome? Something along the lines of fine-grained sentiment on a scale from 1-5?

@plison
Copy link
Collaborator

plison commented Apr 21, 2021

I haven't integrated anything of the sort, and it's not in our short-term plans, but I believe it should not be too difficult to implement. Since the aggregation is based on an HMM (or Naive Bayes in case you don't have any transitions), it's essentially a matter of converting the mixtures of multinomials used for the emission models into Gaussians.

If you also have transitions (i.e. a sequence of several regressions within the same document), the problem becomes a linear dynamical system, and inference becomes a bit trickier (you'd have to use something like a Kalman filter), but nothing out of reach.

If you wish to give it a try, let us know, we can help!

@plison plison added the enhancement New feature or request label Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants