Skip to content

dchequer/NeuralNetwork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeuralNetwork


About the Project

This is a project that I created in order to learn more about how Machine Learning works. Might not be the most efficient compared to other options but it does work.

Technical

I really wanted to be able to implement various error/cost functions and different activation functions. There are a few of them available, by using abstract methods and inheritance it is really simple and easy to read/write

Activation

Each Activation type object must implement its own activation function along with the derivative like so,

def activation(z: float, **kwargs) -> float:
  #cool stuff
  #set activation = some function
  return a

And a derivative,

def derivative(z: float, **kwargs) -> float:
  #other cool stuff
  #set dA = some function
  return dA

Cost

Just like with the Activation objects, Cost objects implement the abstract method activation and derivative

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages