Comments (8)
Examples 👍
- BIF_MovieLens_std
- in unielwin, given RA = T, Capability should be n/a with almost probability 1
from factorbase.
the old xml file of toyexample
and the new xml file of toyexample
the new version misses a edge from RA to Salary. @oschulte
from factorbase.
Thanks runnan. This is because we are currently failing to add these edges by hand (from Rnodes to 2Nodes). Need to check why that part of the SQL script is not being called. Otherwise the edges are the same which is reassuring.
from factorbase.
@woodsouths @rmar3a So the problem seems to be that in model-manager.sql to build the SchemaEdges table, we need to refer to lattice_membership.member, not rnid. I hope this will fix Runnan's issue. As for the general logic, here's the behaviour I think we need.
-
If link analysis is off, then insert the Schema_Edges pairs into Path_Bayes_Nets for the final result after structure learning and before parameter learning. The reason is that in this case, the Bayes net contains no rnodes during learning. This is similar to the current query except we insert into Required_Edges not Path_Bayes_Nets. We can check the Java code for this case.
-
If link analysis is on, then insert the Schema_Edges pairs into Path_Required_Edges before learning. This will make them available for learning. Again We can check the Java code for this case.
from factorbase.
So I did a bit of investigating to see how/why we dropped the values in the rnid column and it happened/is explained in this commit:
https://github.com/sfu-cl-lab/FactorBase/commit/dfe5e8ca821b1d092b487be1f696316099fd3e11
Also this issue is related to this pull request I made before:
https://github.com/sfu-cl-lab/FactorBase/pull/68
I will attempt to fix both of this issues in a future pull request.
from factorbase.
Sounds good. I think we can resolve this in 15 min. At least for the schema edges.
from factorbase.
So if link analysis is off, schema edges should be added after structure learning and before parameter learning.
from factorbase.
Eliminate where clause from the creating the schemaEdges table
When link analysis is on:
- Insert edges from schemaEdges into
Path_Required_Edges
before structure learning;
When link analysis is off:
- Insert edges from schemaEdges into
Path_BayesNets
after structure learning (together with Progagate ContextEdges);
from factorbase.
Related Issues (20)
- Issuer of generation cp table: Data truncation: Division by 0
- add ability to specify evidence HOT 1
- add ability to specify subset of variables
- add ability to specify individual grounding
- add ability to specify population of interest
- drop temporary CT tables HOT 13
- backup strategy
- write ssh tunnel to bugaboo
- Link correlation : metadata_2.sql vs metadata_2_nolink.sql HOT 1
- Duplicated setVarsFromConfig() HOT 1
- fix rnids - follow up HOT 1
- Fix Functorset transfer HOT 3
- clean up BuildCT
- introduce view for output
- turn BN tables into views
- reclaim rnid from Lattice Generator HOT 2
- fix up metaqueries script
- Testing Expansions table
- adding indexes and primary keys
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from factorbase.