Giter Site home page Giter Site logo

regular-dev / nevermind-neu Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 773 KB

Machine learning library written in rust with OpenCL support

License: Apache License 2.0

Rust 100.00%
deep-learning machine-learning neural-network rust opencl tui tui-rs

nevermind-neu's Introduction

nevermind-neu

crates.io

Machine learning library and tool with terminal user interface written in rust. It supports OpenCL layers and CPU layers. Core math matrix library is ndarray which use matrixmultiply crate for CPU matrix multiplication.

Design goals

  • Fast optimized computations
  • User-friendly API
  • Provide utility terminal application to create, train, manage models with user-friendly terminal interface

OpenCL

OpenCL support is based on ocl crate. It is optional feature and enabled by default.

Features

  • FullyConnected layer
  • Euclidean Loss, Softmax Loss
  • Optimizers: Adam, RMSProp, AdaGrad, AdaDelta
  • Async parallel data loading
  • Protobuf, CSV dataloaders
  • (De)Serializing neural network state to protobuf
  • (De)Serializing neural network configuration net yaml file
  • Activation functions : sigmoid, tanh, relu, leaky_relu

Terminal user interface tool

tui

Examples

XOR function approximation

cargo run --release --example xor

XOR function approximation with OpenCL support

cargo run --release --example xor_ocl

For MNIST digits classification example read MNIST example readme

Roadmap

  • Conv2D layer
  • RNN + LSTM
  • Residual block
  • OpenCL optimization

License

Apache License Version 2.0

nevermind-neu's People

Contributors

regular-dev avatar xxxxxion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.