mellesies / thomas-core Goto Github PK
View Code? Open in Web Editor NEWVery simple (almost naive ;-) bayesian network implementation
License: MIT License
Very simple (almost naive ;-) bayesian network implementation
License: MIT License
BayesianNetwork should support some form of network structure learning based on input data. A simple method would be a greedy algorithm that selects nodes and edges based on mutual information.
When multiplying two factors with similar indices, pandas will wrongly assume that the indices should be aligned.
Example:
fAC = Factor(
[0.6, 0.4],
{'A': ['a1', 'a0'], 'C': ['x1', 'x0']}
)
fAB = Factor(
[0.6, 0.4],
{'A': ['a1', 'a0'], 'B': ['x1', 'x0']}
)
fAC * fAB
# --> factor(A,C) or factor(A,B), depending on the order of multiplication.
# Pandas will wrongly assume that indices of B and C are the same thing and will happily
# multiply the columns :-(.
Currently parameter learning with incomplete data is not (properly) supported and needs to be implemented.
Inference performance can be improved by pruning a BN's graph before performing variable elimination.
See also 6b. Inference by Variable Elimination II (Chapter 6) on YouTube.
Inference performance can be improved by properly sorting the list of variables before performing variable elimination.
See also 6a. Inference by Variable Elimination I (Chapter 6) on YouTube.
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.