Skip to content

giovannaloro/NN-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NN-from-scratch

An basic library to create and train small neural networks

Use

  • Import NN
  • Create a new network with NN.network() --> network
  • Train a network with network.train()
  • Calculate a network prediction with network.predict()

Example

  • dataset = [[[1,-1],[0]],[[1,1],[1]]]
  • network = NN.Network([2,5,3,8,1],-10,10)
  • network.train(dataset,1,0.7)
  • network.predict([1,-1])

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages