opennars / OpenNARS-for-Applications

General reasoning component for applications based on NARS theory.
https://cis.temple.edu/~pwang/NARS-Intro.html
MIT License
92 stars 40 forks source link

Visualizing concept and inheritance networks as the system learns #261

Open digikar99 opened 1 year ago

digikar99 commented 1 year ago

opennars-lab GUI seems to have a facility for visualizing how the inheritance or concept network evolves as the system learns. Is there an equivalent in ONA yet?

patham9 commented 1 month ago

One can pipe the *concept command output to concept_usefulness_filter.py and pipe it from there to concepts_to_graph.py. Examples can be seen in https://github.com/opennars/OpenNARS-for-Applications/wiki/Misc-Scripts Example graph outputs have been part of v0.8.7 release message: https://github.com/opennars/OpenNARS-for-Applications/releases/tag/v0.8.7

patham9 commented 1 month ago

However: While *concepts output can be recorded at multiple times while the system is running, it would need a new or updated script to cover the dynamic updating of the graph in the visualization, the Matplotlib library might also not be ideal for this purpose. I will leave this issue open as this has not yet been developed. But also, due to concept_usefulness_filter.py it tends to be more useful already than the previous real-time visualizations.