Skip to content
/ ailib Public

Neural networks and machine-learning library written in python.

License

Notifications You must be signed in to change notification settings

almqv/ailib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIlib

A simple ConvNet (with SGD) library.

Installation

  1. git clone https://github.com/E-Almqvist/ailib.git
  2. Import it in your project and that is it.

Usage

from ailib import ai

my_neural_network = ai.neural_network() # Create an object for your network
my_neural_network.generateLayers( [1, 1] ) # Generate 1 input neuron and 1 output neuron.

my_neural_network.think( [0.2] ) # Make the AI "think" about "0.2" and it will give out 1 output.

# This network does not really do anything usefull. 

See example.py for a better example.

Features

(Checked boxes are implemented features and unchecked has not been implemented yet.)

Neural Networks

  • Thinking
    • Generating neural matrix
    • Prediction
  • Learning
    • Stochastic gradient descent (SGD)
    • Support for custom data feeding
    • Relative learning rate
  • Support for networks of (neural) networks
    • Input/Output passthrough
  • Support for loading trained networks

Other planned features

  • Cool debug colors
  • Multicore processing