holderlb / subdue Goto Github PK
View Code? Open in Web Editor NEWThe Subdue graph miner discovers highly-compressing patterns in an input graph.
License: MIT License
The Subdue graph miner discovers highly-compressing patterns in an input graph.
License: MIT License
Hello,
Thank you for this great and maintained project.
While trying to use the algorithm on networkx directed graph (by running nx_subdue),
I've noticed that the internal presentation of the graph is undirected (i.e. the 'directed' property of the edges is 'False').
In the previous version it caused wrong pattern results. In the last Subdue version (with overlap parameter) it doesn't influence the results anymore, as far as I saw, but I'm afraid it can influence other things.
I'm adding a link to the problematic line, which I changed in my fork:
https://github.com/bar-ta/Subdue/blob/master/src/Graph.py#L93
It seems like we use a different version of networkx maybe. I'm using the last version: networkx==2.5. Which one do you use?
Thank you,
Bar.
Hi Dr. Holder,
When executing the script, I face the following error
Traceback (most recent call last):
File "Subdue.py", line 156, in <module>
main()
File "Subdue.py", line 153, in main
Subdue(parameters, graph)
File "Subdue.py", line 107, in Subdue
patternList = DiscoverPatterns(parameters, graph)
File "Subdue.py", line 54, in DiscoverPatterns
Pattern.PatternListInsert(extendedPattern, childPatternList, parameters.beamWidth, parameters.valueBased)
File "/home/rishi/Downloads/PythonSubdue/Pattern.py", line 220, in PatternListInsert
uniqueValues = UniqueValues(patternList)
NameError: global name 'UniqueValues' is not defined
I could not find the function "UniqueValues". Let me know the possible fix.
Hi Dr. Holder,
I entered 8,000 nodes with 13,000 edges. I found that the program was running very slowly. I still had no results after running for one night. Is there any way to solve it?
Thank you for your code sharing!
Hello, I was delighted to come across this implementation of the Subdue method. However, I am having trouble with the installation process. I've tried to install the package in two different virtual environments, using pip, and I get the same error each time that there seems to be a file missing. Do you have recommendations as to how the package should be installed?
Can you please let me know how did you create labeled graphs which you had used for testing?
Add the setup.py file to make the repo usable without manual installation
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.