GithubHelp home page GithubHelp logo

Question about CRF model about crfsuite HOT 5 OPEN

chokkan avatar chokkan commented on June 24, 2024
Question about CRF model

from crfsuite.

Comments (5)

usptact avatar usptact commented on June 24, 2024

If you can extract a "sequence" from your image, and expect sequence labels + one global label, I suggest you to look at TriCRF instead.
https://github.com/minwoo/TriCRF

The implemented model by TriCRF is:

       y
  /    |   \
h  -   h  -  h
|      |     |
x      x     x

The sequence labels as well as the global image label must be discrete.

from crfsuite.

TompsonL avatar TompsonL commented on June 24, 2024

Thanks for your response. Looks the h nodes in TriCRF are in a chain, Can I use a full connected ?

from crfsuite.

usptact avatar usptact commented on June 24, 2024

@TompsonL In principle yes, in practice inference in such graphs would be ahem difficult. Even this triangular chain CRF is fairly expensive (the way it is implemented). Unfortunately I am not familiar well enough with graphical models to suggest or make bigger claims.

from crfsuite.

usptact avatar usptact commented on June 24, 2024

@TompsonL I would try out a neural architecture - sequence model as for NER for "h" and classification on top of that for "y".

from crfsuite.

TompsonL avatar TompsonL commented on June 24, 2024

from crfsuite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.