Recent Posts

Pages: [1] 2 3 ... 10
1
New Users Please Post Here / Re: Perkum
« Last post by 8pla.net on Today at 05:10:41 pm »
Quote from: http://www.pawelbiernacki.net
% This is a code in Prolog
% created automatically by perkun 0.1.7
% It can be used to generate Perkun code.


if Perkum writes Prolog
And Prolog is A.I.
Then Perkum writes A.I.

2
General Project Discussion / AI Java Project
« Last post by vyan on Today at 01:37:38 pm »
Hi, would anyone be interested in helping me work on a AI project?(not without payment, of course) If yes, please feel free to drop me a message!
3
New Users Please Post Here / Re: Perkun
« Last post by pawel.biernacki on Today at 10:48:15 am »
LOCKSUIT - I have done a small experiment.

You may download it from http://www.pawelbiernacki.net/programmer.zip. It contains three files:
programmer_initial.perkun
programmer.prolog
programmer_final.perkun

Now build Perkun and execute:

perkun programmer_final.perkun


It will enter the interactive mode:

loop with depth 3
I expect the values of the variables: program_command_1 program_command_2 it_works
perkun>


Now type "instruction_if_then instruction_if_then none" and press Enter. Perkun will choose action:

action=execute_the_program which_instruction_to_change=one

Let us assume the program is wrong. We must type "instruction_if_then instruction_if_then false".

Now Perkun wishes to modify the first command to "print":


action=change_instruction_to_print which_instruction_to_change=one


So we must type: "instruction_print instruction_if_then none". Now Perkun chooses:

action=execute_the_program which_instruction_to_change=one

Let us assume the program was wrong again. Type "instruction_print instruction_if_then false". Now it will say:

action=change_instruction_to_print which_instruction_to_change=two


So it wants to change to "print" the second instruction. Now the program is "print print". Let us confirm it: "instruction_print instruction_print none". It responds with:

action=execute_the_program which_instruction_to_change=one

Now let us assume this program is correct. Let us type "instruction_print instruction_print true". Now Perkun will want it executed again!

action=execute_the_program which_instruction_to_change=one

Now maybe it is the time to take a look at the programmer_initial.perkun. In the "variables" section it contains the following variables:

variables
{
    input variable program_command_1:{instruction_if_then, instruction_print};
    input variable program_command_2:{instruction_if_then, instruction_print};
    input variable it_works:{false, true, none};
    output variable action:{change_instruction_to_if_then, change_instruction_to_print, execute_the_program};
    output variable which_instruction_to_change:{one, two};
   
    hidden variable does_if_then_if_then_work:{false, true};
    hidden variable does_if_then_print_work:{false, true};

    hidden variable does_print_if_then_work:{false, true};
    hidden variable does_print_print_work:{false, true};
}


And the model (the one you will see in programmer_final.perkun) has been created automatically with a little help from Prolog. In short - I have made a simple Perkun session in which it searches through all the four combinations:

"if_then if_then"
"if_then print"
"print if_then"
"print print"

And tries to figure out which one works. This is a very primitive programming, I admit. But even for this simple case the model is huge (just take a look at programmer_final.perkun).
4
New Users Please Post Here / Re: Perkun
« Last post by pawel.biernacki on Today at 06:58:11 am »
Do you think your algorithm may be useful to optimize writing short stories?

Yes. It is possible. The game Perkun Wars would be an example (take a look at "chat" - all the NPCs you meet tell you a simple story).

"use Perkun PL to make optimal decisions"
i.e.
Perkun helps you figure out how to code something U don't know how to code.

Ya but...If I'm coding something I want to code...only I (me, an AGI) know what must be coded and what comes next after that to code and how the whole program works...Perkun *cannot* give me optimal suggestions like "oh time to use a For Loop!" or "Oh time to code in x = (7>3)*3>1 in line 45 or the next line!", or "Oh time to delete lines 6-98 cus it doesn't work after all!", because Perkun isn't thinking, it isn't an AGI to do so, it doesn't know what must be put in code to create said application...only I know and can reason what to code to make my program...

However if you mean, it makes the code more efficient but remains the same "code" / "application"....then that's another story. That would help our civilization. Who knows how small one's program could be if coded professionally.

I would address the problem as follows:

I introduce the input variables representing the program and output variables allowing modifying it.

variables
{
    input variable program_command_1:{instruction_if_then, instruction_print, instruction_loop};
    input variable program_command_2:{instruction_if_then, instruction_print, instruction_loop};
    input variable program_command_3:{instruction_if_then, instruction_print, instruction_loop};
    input variable it_works:{false, true, none};
    ...
    output variable action:{change_instruction_to_if_then, change_instruction_to_print, change_instruction_to_loop, execute_the_program};
    output variable which_instruction_to_change:{one, two, three};
    hidden variable does_it_work:{false, true};
}


We would also need the input variables denoting the parameters for the instructions. Then we need a model - this is a bit problematic because Perkun does not learn models (they are taken for granted). It is quite obvious how the actions "change_instruction_" should work, but "execute_the_program" is a mystery. The payoff would depend only on the variable "it_works".

In this simple example we would end up with a Perkun specification that would try to build this three-commands program. It is an interesting idea, I did not think about using it for programming.

5
Bot Conversations / Re: Young Alpha
« Last post by LOCKSUIT on February 24, 2018, 11:33:31 pm »
Definite!
6
New Users Please Post Here / Re: Perkun
« Last post by LOCKSUIT on February 24, 2018, 11:25:37 pm »
"use Perkun PL to make optimal decisions"
i.e.
Perkun helps you figure out how to code something U don't know how to code.

Ya but...If I'm coding something I want to code...only I (me, an AGI) know what must be coded and what comes next after that to code and how the whole program works...Perkun *cannot* give me optimal suggestions like "oh time to use a For Loop!" or "Oh time to code in x = (7>3)*3>1 in line 45 or the next line!", or "Oh time to delete lines 6-98 cus it doesn't work after all!", because Perkun isn't thinking, it isn't an AGI to do so, it doesn't know what must be put in code to create said application...only I know and can reason what to code to make my program...

However if you mean, it makes the code more efficient but remains the same "code" / "application"....then that's another story. That would help our civilization. Who knows how small one's program could be if coded professionally.
7
New Users Please Post Here / Re: Perkun
« Last post by 8pla.net on February 24, 2018, 10:25:00 pm »


Title: The Riddle of the Hideout

Publisher Software: PHP

Cite Source: http://aihax.com/shortstory/
____________________________________________________________________________________________________

Do you think your algorithm may be useful to optimize writing short stories?
8
Bot Conversations / Re: Young Alpha
« Last post by 8pla.net on February 24, 2018, 09:40:23 pm »
Hello LOCKSUIT,

Three Likes... That's unbelievable!

Thanks for the Like!
9
Bot Conversations / Re: Young Alpha
« Last post by 8pla.net on February 24, 2018, 09:39:38 pm »
That's a great idea, Ivan.

"Of course" is another way of saying yes.

I suppose I could hook up WordNet.

However, I want to keep the codebase small for now
10
New Users Please Post Here / Re: Perkun
« Last post by pawel.biernacki on February 24, 2018, 08:49:43 pm »
I am lost lol...........

Ok, let's try this question.

C++ is a Programming Language. The programmer can code whatever they want, whether it be an AGI or a clock or a 3D physics simulation. What does Perkun do for me that C++ can't? Does it predict what I will code next? How would it know that lol unless it was all-knowing? Does it show expected C++ commands? Other than that I don't see what it could do because, a programmer writes code that he knows he wants to write.........

In principle C++ can do everything that Perkun does, but it does not contain my algorithm. So what I recommend here is my algorithm rather than some new syntax in a new language. This is an optimization algorithm, which attempts to maximize the expected value of a payoff function during next n steps. So what Perkun expects is:

- a bunch of variables (including hidden ones) defining our agent within its world
- information what is good and what is not good - i.e. a payoff function
- information how the world works - i.e. a model

Given the information listed above you can use Perkun to make optimal decisions. Perkun is not a predictor in general, it is an optimizer.

Pages: [1] 2 3 ... 10

Perkun
by 8pla.net (New Users Please Post Here)
Today at 05:10:41 pm
AI Java Project
by vyan (General Project Discussion)
Today at 01:37:38 pm
Young Alpha
by LOCKSUIT (Bot Conversations)
February 24, 2018, 11:33:31 pm
MIT AGI: How the brain creates emotions (Lisa Feldman Barrett)
by keghn (General AI Discussion)
February 24, 2018, 04:01:56 pm
Spikes in neural networks
by keghn (New Users Please Post Here)
February 24, 2018, 03:10:28 pm
Fractal Orbit
by ranch vermin (Human Computer Interaction)
February 24, 2018, 12:49:39 am
XKCD Comic : The Simpsons
by Tyler (XKCD Comic)
February 23, 2018, 12:02:20 pm
They Are Coming For US!
by LOCKSUIT (General Robotics Talk)
February 21, 2018, 08:27:54 pm

Users Online

38 Guests, 2 Users
Users active in past 15 minutes:
Freddy, 8pla.net
[Administrator]
[Trusty Member]

Most Online Today: 52. Most Online Ever: 208 (August 27, 2008, 09:36:30 am)

Articles