Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataModel population efficiency #449

Open
kordjamshidi opened this issue Nov 16, 2016 · 2 comments
Open

DataModel population efficiency #449

kordjamshidi opened this issue Nov 16, 2016 · 2 comments
Assignees

Comments

@kordjamshidi
Copy link
Member

I am re-running SRL experiments and I am not sure why the population so extremely slow.
I wonder, who is available to re-check the data model population code and see where the redundant searches are happening?

@kordjamshidi
Copy link
Member Author

kordjamshidi commented Nov 16, 2016

According to @bhargav this line causes the issue, and that is true for my experience too,

joinNodes.foreach(_.addFromChild(this, instance, train, populateEdge))

but needs investigation, since we even do not call it when runnig SRL.

@bhargav
Copy link
Contributor

bhargav commented Feb 12, 2017

Also as an update to the cause of this, it started happening in SRL because the usage of JoinNodes in the DataModel was added in line 42 of SRLMultiGraphDataModel.scala

Older version of SRL did not have this usage of joinNodes thus no population was happening before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants