april-tools / cirkit

a python framework to build, learn and reason about probabilistic circuits and tensor networks
https://cirkit-docs.readthedocs.io/en/latest/
GNU General Public License v3.0
71 stars 1 forks source link

clt utils available #282

Closed gengala closed 1 week ago

gengala commented 1 week ago

possible use case:

import torch
num_categories = 5
training_data = torch.randint(5, (1000, 50))
region_graph = learn_clt(training_data, 'categorical', as_region_graph=True)

then build a tensorized architecture using from_region_graph API.

codecov[bot] commented 1 week ago

The author of this PR, gengala, is not an activated member of this organization on Codecov. Please activate this user on Codecov to display this PR comment. Coverage data is still being uploaded to Codecov.io for purposes of overall coverage calculations. Please don't hesitate to email us at support@codecov.io with any questions.