GithubHelp home page GithubHelp logo

neurosemantics's Introduction

neuroSemantics

An attempt at a hybrid between adaptive artificial neural networks and semantic network AI.

The network takes simplified language as input and creates/modifies a network based on given statements. Answers to queries are generated by propagating the semantic meaning of the question through the network and retrieving the 'most activated' nodes. Exact methodology here is still in the works.

The network class allows for the creation of any arbitrarily connected network which can be visualized from a csv linkmap. Current visualization includes a force directed diagram generated using D3.

Attributions

D3 visualization coding based on the work of d3noob

neurosemantics's People

Contributors

7yl4r avatar

Stargazers

 avatar Emmanuel Bourret avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

neurosemantics's Issues

improved viz loading

having to manually start-up the HTTP server to make javascript visualizations work is a bit of a pain.

Unfortunately, Popen() is not properly killing the process in del() either.

So it seems that the server must be either manually started or manually stopped... there must be a better way of doing this.

IOError: [Errno 2] No such file or directory: './states/s0.jpg'

Running the main.py file gives the following error:

WARN: range <= 0
conn stren m: 100.0 v: 0
adjustment m: 2900.0 v: 0
Traceback (most recent call last):
File "main.py", line 40, in
network.input_file('./input_scripts/base.txt')
File "/Users/school/Github/neuroSemantics/Network.py", line 175, in input_file
self.plot_state_file()
File "/Users/school/Github/neuroSemantics/Network.py", line 162, in plot_state_file
self.state.plot_img('./states/s' + str(self.input_count) + '.jpg')
File "/Users/school/Github/neuroSemantics/NetworkState.py", line 69, in plot_img
img.save(save_file_loc)
File "/Library/Python/2.7/site-packages/PIL/Image.py", line 1684, in save
fp = builtins.open(filename, "wb")
IOError: [Errno 2] No such file or directory: './states/s0.jpg'

I have looked around for a bit, what exactly am I doing wrong?? I feel like it could be a problem with my PIL installation (installed via pip install pillow )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.