Skip to content

vincentkslim/budgetkeras

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

budgetkeras

A totally impractical but functional clone of the keras Sequential Model

Introduction

This fun project is a clone of the keras Sequential Model but only using numpy. tensorflow is not used at all, and numpy is the only package that is imported. The main purpose of this project was to help me understand all the math behind a fully connected neural network.

This also features a few nifty features in Python that I learned during my time in CS61A, including:

  • Higher Order Functions
  • Mutable Functions (nonlocal keyword)
  • Data Abstraction

Supported Features

  • Layers
    • Dense (fully connected)
  • Weight Initializers
    • Random Normal
    • Xavier
    • Kaiming (He)
  • Activation Functions
    • ReLU
    • sigmoid
    • tanh
  • Optimizers
    • Batch Gradient Descent
  • Loss Functions
    • Binary Crossentropy (Logisitic Loss)

TODO

  • Layers
    • Conv
    • Pooling
  • Optimizers
    • Mini-batch Gradient Descent
    • RMSprop
    • Adam
  • Regularization
    • L1, L2
    • Dropout
  • Activation Functions
    • Softmax
    • LeakyReLU
  • Loss Functions
    • MSE
    • MAE?
    • Categorical Crossentropy
    • MSLE
  • Development Set History

About

Functional clone of the keras Sequental Model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published