Git Product home page Git Product logo

ml-mini's Introduction

ml-mini FFF (framework for fun)

This WIP has multiple humble goals:

  • Deeper understanding of ML algorithms and structure. Lots of great ML frameworks for sure hidding the painful complexity. I need to understanding the painful complexity to become a better ML dev.
  • Level up Math skills.
  • Level up Rust programming knowledge.
  • Commit into a future where I would use ML and/or Rust as a professional.
  • Have fun classifying cat pictures

Steps:

  • (IN PROGRESS) Forward and backpropagation framework. API as simple as possible considering the language used. Therefore, lots of macros
  • (TO DO) Write convenient input and output nodes.
  • (TO DO) Very simple binary image classifier using a single Logistic Regression node in hidden layers.
  • (TO DO) Locally storing weights and biases.
  • (TO DO) LeNet-5 (implenting other kind of nodes: convolution, pooling, dense etc...).
  • (TO DO) Other kind of famous models.
  • (TO DO) Letzgongue!

I'm not sure what I'm doing at this point = contains no test ๐Ÿ’€

API functionalities

Design

Made simple using macros:

model!(
    input_layer!(convert_img_to_vector("/path/to/file")),
    hidden!(
        layer!(
            10,
            logistic_regression,
        ),
        layer!(
            12,
            logistic_regression,
        )
    ),
    output_layer!(sigmoid)
)
.run()
.train(0.5, y_vector)

Automatic matrix manipulation

Framework automatically compute size of weights and biases with respect to previous layer's size.

Activation functions, nodes and classifiers

Stack of provided (TO DO) activation functions, nodes and classifiers, ready to use. Those can also be specified through closures (TO DO).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.