Skip to content

Latest commit

 

History

History
50 lines (47 loc) · 1.14 KB

README.md

File metadata and controls

50 lines (47 loc) · 1.14 KB

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