GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - narendraj9/emlib: Machine Learning in Emacs Lisp

This repository was archived by the owner on Nov 30, 2021. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
emlib-math.el
emlib-math.el
 
 
emlib-nn.el
emlib-nn.el
 
 
emlib.el
emlib.el
 
 

Repository files navigation

emlib

A humble Machine Learning library. Currently, there is a simple implementation of feedforward networks with learning rate, momemtum and a few parameters hard-coded. The API would be changed in the future. The idea behind sharing it is to get more people involved in the development.

Usage

(require 'emlib)

;; Let's define some data with three-dimensional inputs and a scalar
;; output.
(setq data '(([1 0 0] . [0]) ([1 0 1] . [1]) ([1 1 1] . [0])))


;; Now, let's create and train a neural network with 4 nodes in a
;; hidden layer.
(let ((my-nn (emlib-nn-create 3 4 1)))
  (dotimes (i 1000)
    (dolist (input-output data)
      (message "Feeding to the network <%s, %s> "
               (car input-output)
               (cdr input-output))
      (emlib-nn-train my-nn (car input-output) (cdr input-output)))))

(message "Output for [1 0 0]: %s" (emlib-nn-feed my-nn [1 0 0]))


NOTE: The API is definitelly going to change as this project is in its early
stage. The idea behind sharing this is to make more people involved so that it
 is better than what I can make it alone.

About

Machine Learning in Emacs Lisp

Topics

elispemacsemlibmachine-learning

Resources

Readme
GPL-3.0 license
Activity

Stars

47 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.