Coder Social home page Coder Social logo

amuse-ai's Introduction

amuse-ai

text-analysis with nnets and positive reinforcement

Goal: The purpose of this script is to generate amusing strings of text based off nothing but user inputs.

Method: Each time the user inputs a sentence into the program, new words are added to a dictionary. Next, that information is backpropagated through a recurrent neural network along with a signal that denotes positive reinforcement (or punishment). The transformation of the combination of these two data sources (plus whatever previous output was generated via the RNN) causes the script to output a string "sentence" in response to the user string input and the positive reinforcement (or punishment) input. This last input is also referred to as the "good job" or "gj" input.

Details: For now, all sentences must consist of 6 words with no punctuation. The initial text the amuse-ai script produces is always "hey how are you doing today". After the user reads this, he should be prompted to enter a positive reinforcement/punishment value, with 0.0 denoting an unamusing statement, 0.5 denoting a neutral statement, and 1.0 denoting an amusing statement. Next the user is prompted to enter his own 6 word sentence in "response" to the amuse-ai. The script then generates a new statement based on (in chronological order utilizing the RNN) the previous output sentence, the positive punishment/reinforcement value, and finally the new user input. A better explanation is avaliable in the picture below. The dictionary of all words the script has been exposed to is created on-the-fly although it can be saved from session to session. As new words are added to the dictionary, new "neurons" are added to the hidden layer.

Questions: I'm not sure whether or not to track the letters along with each newly learned word.

amuse-ai amuse-ai explained

amuse-ai-example amuse-ai concrete example

amuse-ai's People

Contributors

austincap avatar

Stargazers

mg avatar Cameron Pick avatar

Watchers

James Cloos avatar  avatar Cameron Pick avatar Matthew Boman avatar

amuse-ai's Issues

can you make up your README?

sorry, I can't understand what are you doing?but I think there may be an interesting thing,so can you explain your project?

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.