jmschrei / torchegranate Goto Github PK
View Code? Open in Web Editor NEWA temporary repository hosting a pomegranate re-write using PyTorch as the backend.
License: MIT License
A temporary repository hosting a pomegranate re-write using PyTorch as the backend.
License: MIT License
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?
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)
Thought it may be helpful/convenient to have a link to the license in the readme
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. :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.