Skip to content

displaceman/neurobiba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neurobiba

visitors visitors

other languages:

small collection of functions for neural networks.

very easy to use!

Installation:

pip install neurobiba

See examples

example_01

how to use

  1. create weights
weights = Weights([2, 1]) # 2 input neurons and 1 output
  1. create data, create answer, train
for i in range(10000): # train 10000 times
    a, b = random(), random() # a and b is a random numbers
    output = int(a > b) # if a > b then answer is 1, else 0
    weights.train([a, b], [output]) # train
  1. enjoy
result = weights.feed_forward([0.1, 0.3])[0] # result is close to 0

About

small collection of functions for neural networks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages