Coder Social home page Coder Social logo

cl-nn's Introduction

cl-nn

cl-nn is a neural network implementation in Common Lisp. Training is done with backpropagation.

Usage

Installation

  1. Install quicklisp. $ represents a bash shell and * an Lisp REPL.
   * (quicklisp-quickstart:install)
   * (ql:add-to-init-file)
   * (sb-ext:exit)
  1. Configure ASDF2: $ mkdir -p ~/.config/common-lisp/source-registry.conf.d/

~/.config/common-lisp/source-registry.conf.d/projects.conf should contain the following contents: (:tree (:home "Documents/lisp/"))

"Documents/lisp/" is a path relative to your home directory that ASDF will search for lisp projects in.

  1. Run cl-nn: $ sbcl --load run.lisp

For the sake of your sanity, suggest running sbcl through rlwrap: $ rlwrap sbcl

Runtime

Upon startup, you will be prompted to train or run a neural network. If you choose to train one, you will be prompted to generate a new network (and specify the appropriate layer sizes) or load a neural network from a file. You will then be prompted for a trainding files, learning rate, and a number of epochs to run for.

If you choose to run a neural network, you will be prompted for a file containg a (presumably trained) neural network, a test data file, and an output file.

cl-nn's People

Contributors

nicolasavru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

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.