science tools for opencog

23 views
Skip to first unread message

Linas Vepstas

unread,
Jun 17, 2017, 11:07:51 PM6/17/17
to opencog

Continuing the other thread. Having science tools for opencog would be great. But which tools?  And what's the interface?

I have a proposal for one style of interface: a sparse matrix.  Consider the sparse matrix N(x,y) where N is a number for the indexes x,y.  Is there a science package that works well with sparse matrixes?  Cause I got one.  It looks like this:

 EvaluationLink             (tv=42)   <<< this is N(x,y)
     PredicateNode "foo"
     ListLink
         FooNode "asdf"       <<< this is "x"
         BarNode "qwery"     <<< this is "y"

That is how I'm storing my sparse-matrix data, right now.  I made some nice tools for myself, but I doubt they'd be popular .. but the general idea is a good one, I think.

So if we had some science package out there for working with sparse matricies, then it would be great if someone could write some API to attach the above kinds of atoms to the sparse matrix tools.

I've already done this for myself, here: https://github.com/opencog/atomspace/tree/master/opencog/matrix  but it's certainly not scipy or whatever it is tht is popular these days.

--linas

Reply all
Reply to author
Forward
0 new messages