Giter VIP home page Giter VIP logo

torchegranate's People

Contributors

jamestwebber avatar jmschrei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

torchegranate's Issues

Commands not recognized after installing pomegranate/torchegranate

Hi there,

I work in a pycharm environment, and I have installed pomegranate 1.0 and torchegranate 0.5.0, and tried it with both libraries.
After installing the library it does not recognize any of the commands.

For example running this code:

from pomegranate import *

test = State(DiscreteDistribution({
    "good": 0.7,
    "bad": 0.2,
    "medium": 0.1
}), name="test")

returns the error:

NameError: name 'State' is not defined

The same happens when I replace pomegranate with torchegranate.

I use python 3.10.

Why could this be happening?

Univariate Normal

Is there a way to create a model using a univariate normal? I am forced to use at least 2 variables since:

linalg.cholesky: The input tensor A must have at least 2 dimensions.

in normal.py, l.139 chol = torch.linalg.cholesky(self.covs)

FEATURE REQUEST - IndependentComponentsDistribution

Hi, long-time user of pomegranate here. Thanks for the great work over the years!

My question: Is there any plan to bring the IndependentComponentsDistribution from pomegranate into torchegranate? I really liked the option of modeling each dimension of the emission with a specific distribution/mixture model.

Of course if there's another way to do this in torchegranate that I'm just too dumb to realize, I'd also appreciate that info. :)

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.