[opencog-dev] How to interpret the inference results obtained from POSES?

2017-05-26 Thread Vishnu Priya
Hello All, I tried the bank-sentiment analysis problem with POSES/MOSES. I also got the inference results as mentioned in the txt document. But i don't understand it. The goal is to learn a model that predicts the column Q3, a value between 1 and 11. the command to make inference out of

[opencog-dev] Atomspace- A neural-symbolic network?

2017-05-03 Thread Vishnu Priya
Hello All, i read that, Atomspace is a neural-symbolic network. How? or is it only a weighted hypergraph? Could any one please explain? Thanks, Vishnu -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop

Re: [opencog-dev] Pros and cons

2017-05-02 Thread Vishnu Priya
Hi, InheritenceLink Nageen human strength - represents True/false Confidence - expresses degree of strength, expresses how certain/ uncertain the strength is. InheritenceLink Nageen human <.9, .9> InheritenceLink Nageen monster <.9, .1> this indicates that there

Re: [opencog-dev] PLN rules selection

2017-05-02 Thread Vishnu Priya
> Yeah Nil. I think, the output is not in the suitable format to run FC/BC. > i extracted R2L parses and it is like the following: ((ImplicationLink (stv 1 1) (PredicateNode "for@bd1dfde9-6b3c-4b90-912e-c0f9815cf2b1" (stv 9,7569708e-13 0,0012484395)) (PredicateNode "for" (stv

Re: [opencog-dev] PLN rules selection

2017-04-27 Thread Vishnu Priya
Hi Linas, Well, we do have some code in the opencog.nlp/relex2logic directory (aka > R2L) that will convert the English-language sentence "Frogs eat flies" into > a format that PLN can operate on. > > But if you just want to do some basic reasoning with simple English > sentences, then

Re: [opencog-dev] Re: Calling forward/backward chainer

2017-04-22 Thread Vishnu Priya
Hi Nil, Currently, as there are no working example files for FC/BC, i thought i could come up with some examples and contribute. So far, i have tested simple rule like Deduction and got that working. But now i wanted to try some other different rule. So, as per

Re: [opencog-dev] Re: Calling forward/backward chainer

2017-04-21 Thread Vishnu Priya
Thanks Nil. Yeah. That was the problem. I have mistakenly entered the > parameters. I did not get from any example file. Now it works as expected. I have also created a GitHub Issue for not returning appropriate err message. Cheers, Vishnu -- You received this message

Re: [opencog-dev] Re: Calling forward/backward chainer

2017-04-20 Thread Vishnu Priya
I installed the recent version and tried FC. Previously i used to work > with only three arguments. But now as it requires four parameters, i gave > empty ListLink additionally. But it throws Error. My scm has: (load "/opt/opencog/opencog/pln/rules/deduction-rule.scm")

[opencog-dev] Re: How to write results from guile shell to a file?

2017-04-06 Thread Vishnu Priya
I tried like this and it worked !! :-) echo -e "(define out (open-output-file \"/opt/opencog/file.txt\"))\n(write > (nlp-parse \"hello world.\") out)\n(close-output-port out)\n" | nc > localhost 17004 > Cheers, Vishnu -- You received this message because you are subscribed to the Google

[opencog-dev] How to write results from guile shell to a file?

2017-04-05 Thread Vishnu Priya
Hello all, I just want to write the output of (nlp-parse "This is a test.") to a file. So i tried like this, echo "(nlp-parse \"This is a test.\")" | nc localhost 17004 > file.txt But i got only the following in the file and not the expected SentenceNode. [0;34mguile [1;34m> [0m

Re: [opencog-dev] PLN rules selection

2017-03-31 Thread Vishnu Priya
> Sorry I don't understand. What do you mean by "input". Could you give me > an example? I meant, instead of giving "input" like the following, which involves the variable " X" (ImplicationScope (stv 1.0 1.0) (TypedVariable (Variable "$X") (Type "ConceptNode")) (And (Evaluation

Re: [opencog-dev] PLN rules selection

2017-03-28 Thread Vishnu Priya
Thanks NIL. I have read the URE documentation. It is clear enough for me to understand. > But under "Forward Chainer", you have written, " It currently uses a rather brute force algorithms, select sources and rules somewhat randomly,..". But i think, currently we select the source

Re: [opencog-dev] PLN rules selection

2017-03-23 Thread Vishnu Priya
Thanks Nil. But i have few questions. 1. In real time reasoning, each and every time will you look at the input data and decide the rules manually? 2. Only when the input is in certain form of the rule (or matches with the rule) which is being chosen, we obtain inferences?

Re: [opencog-dev] Re: How to handle input data that has an ID?

2017-03-14 Thread Vishnu Priya
Hi, I tried DefineLink. But the problem is i can define my ID only once. Since it is used to give an unique name. (DefineLink (DefinedSchemaNode "ID1") (InheritanceLink (stv 0.9 0.9) (ConceptNode "Einstein") (ConceptNode "man"))) (DefineLink (DefinedSchemaNode "ID1") (ListLink

Re: [opencog-dev] Glimpse- Visualizing attentional focus and atomspace

2017-03-06 Thread Vishnu Priya
: > >> I just checked it and it works for me. >> >> On Mon, Mar 6, 2017 at 5:50 PM, Vishnu Priya <vishnup...@gmail.com >> > wrote: >> >>> >>> >>> >>> Thanks for the quick reply Misgana. I have exactly done as what you >

Re: [opencog-dev] Glimpse- Visualizing attentional focus and atomspace

2017-03-06 Thread Vishnu Priya
> I forgot to tell you, when i run "npm test ", it throws an error. > -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to opencog+unsubscr...@googlegroups.com. To

[opencog-dev] Re: Glimpse- Visualizing attentional focus and atomspace

2017-03-06 Thread Vishnu Priya
I also clicked on "SlideMode" but nothing happend. -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to opencog+unsubscr...@googlegroups.com. To post to this group,

[opencog-dev] Glimpse- Visualizing attentional focus and atomspace

2017-03-06 Thread Vishnu Priya
Hello all, Currently i am stimulating atoms and trying "Glimpse" for visualization. I have started REST API, successfully connected to localhost:9000 and i am able to see Glimpse GUI. (i have also attached some pics). But i don't know how to visualize my atomspace and Attentional Focus.

[opencog-dev] Re: How to handle input data that has an ID?

2017-03-03 Thread Vishnu Priya
kinda look like this: > > (AssociativeLink (stv 0.9 0.9) > (InheritanceLink (stv 0.9 0.9) > (ConceptNode "Einstein") > (ConceptNode "violin-players") > ) > (NumberNode "8787") > ) > > > > On Tuesday, Februa

[opencog-dev] Re: How to handle input data that has an ID?

2017-02-27 Thread Vishnu Priya
Thanks for the reply, Roman. So, should it be like this (EvaluationLink HebbianLink (PredicateNode "sweet@3fe00455-333f-4cd8-a488-1d23f81c4546") (ListLink (ConceptNode "oranges@33c76dd3-d3c1-4e38-b2ba-b77abfbebadb") (NumberNode 7878 ) In general, i parse and get r2l

[opencog-dev] cog-fc returns empty Setlink

2017-02-24 Thread Vishnu Priya
Hi, This is the data, that i gave, (EvaluationLink (PredicateNode "eats") (ListLink (ConceptNode "tom") (ConceptNode "chicken-feet") ) ) (InheritanceLink (stv 0.9 0.9) (ConceptNode "tom") (ConceptNode "chinese") ) (EvaluationLink

[opencog-dev] Status Backward Chainer

2017-02-22 Thread Vishnu Priya
Hello, Is Backward chainer matured now? A month ago or so, Nil told that it would work soon. Like forward chainer, is it possible to try backward chainer now ? Cheers, Vishnu -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from

Re: [opencog-dev] Setting Goals and Actions as OpenPsi Rules

2017-01-27 Thread Vishnu Priya
t; PredictiveImplication > finding X so that A(X) > fulfilling "learn new things" goal > > This is somewhat elaborate for a simple thing, but would be a good > exercise in using the architecture... > > -- Ben > > > On Thu, Jan 26, 2017 at 9:16 AM, Vi

[opencog-dev] Setting Goals and Actions as OpenPsi Rules

2017-01-26 Thread Vishnu Priya
Hi, for ex. i have the following input. Bob lives in china. Bob likes chicken-feet. Jim lives in america. Jim likes pizza. Tim lives in china. Tim likes chicken-feet. Joe lives in china. Say, my goal is to find who eats chicken-feet. 1. How can i define Goal and action for my MindAgent

Re: [opencog-dev] Loading data for chatbot by primitive-load

2016-11-22 Thread Vishnu Priya
on, Nov 21, 2016 at 6:16 PM, Vishnu Priya <vishnup...@gmail.com > > wrote: > >> Hello, >> >> I know that i could give input to the chatbot by (nlp-parse "the sky is >> beautiful"). >> But i also tried giving it a scm file, which has the parses of

[opencog-dev] Loading data for chatbot by primitive-load

2016-11-21 Thread Vishnu Priya
Hello, I know that i could give input to the chatbot by (nlp-parse "the sky is beautiful"). But i also tried giving it a scm file, which has the parses of the above sentence using (primitive-load .). Then i tried querying by asking (process-query "What is beautiful"). But it says, sorry!

Re: [opencog-dev] About Attention Values and Truth Values

2016-11-21 Thread Vishnu Priya
work on "mental > models" but it's currently hard. > > --linas > > > On Sat, Nov 19, 2016 at 6:06 AM, Vishnu Priya <vishnup...@gmail.com > > wrote: > >> >> I also had an another idea of coupling the sentences along with their id. >> Ex. Wh

Re: [opencog-dev] About Attention Values and Truth Values

2016-11-19 Thread Vishnu Priya
ies things a little bit. Some of the reference links > should probably be EvaluationLinks. The lexical functions need to be > improved, a lot. The current output is documented here: > http://wiki.opencog.org/w/RelEx_OpenCog_format but it could be > over-hauled and improved, i

[opencog-dev] Relex to DB

2016-11-02 Thread Vishnu Priya
Hello, I am trying the following: As sentences come in, it should go through NLP pipeline i.e. parsed by Relex and should be stored in DB automatically. Because i can't manually do all the time giving sentence to relex server localhost , save the results in a scheme file, load and store

Re: [opencog-dev] About Stimulating atoms and NLP

2016-10-19 Thread Vishnu Priya
Misgana told that, if i want to get STI for atoms, i need to start-ecan and give stimulus. I did it and also saw atoms with STI in attentional focus. Now, I have a doubt. Please rectify me, if i am wrong. when i start ecan and give stimulus, automatically PLN starts the inference process

Re: [opencog-dev] Error while executing query -pgsql

2016-10-19 Thread Vishnu Priya
> You need to open the database before creating atoms; > > Yeah. I did the following: guile> (use-modules (opencog) (opencog atom-types) (opencog persist-pgsql) (opencog openpsi)) guile> (pgsql-open "xxx" "yyy" "zzz") () guile>(primitive-load "/opt/opencog/opencog/scm/test.scm") guile>

Re: [opencog-dev] About Attention Values and Truth Values

2016-10-17 Thread Vishnu Priya
Thnaks Linas for the reply. > I would like to know some more info about Truth values. > How is atom's truth value is updated based on new observations? How can truth values of certain atoms in a particular context change a lot? ( i came across this line in the book, "*if truth values of

Re: [opencog-dev] About Stimulating atoms and NLP

2016-10-13 Thread Vishnu Priya
Thanks Misgana for the info. I followed the steps as below. But cof-af is () empty. What am i missing here? > > opencog> loadmodule /opt/opencog/build/opencog/attention/libattention.so done opencog> start-ecan Started the following agents: opencog::AFImportanceDiffusionAgent

Re: [opencog-dev] About Attention Values and Truth Values

2016-10-13 Thread Vishnu Priya
Hey Roman, Thanks, that helped a lot to get more insight. :-) I shall ask Misgana about stimulating atoms. Cheers, Vishnu -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send