elm

nameelm
created_at2023-12-10 05:32:22.227146
updated_at2023-12-31 00:17:56.087757
downloads149
descriptionA minimalist framework for Extreme Learning Machines (ELMs).
homepage
repositoryhttps://github.com/mbfernan/elm.git
max_upload_size
id1064046
Marcos Blanco Fernandes

documentation

readme

# Extreme Learning Machines (ELMs) Extreme Learning Machine (ELM) crate. A minimalistic and flexible crate that can be used to train ELMs, a type of Neural Networks. Currently supports a single hidden layer and regression tasks. References: - Original paper: - Wikipedia: ## Basic usage ```RUST use elm::{ELM, Epsilon}; use elm::activation_functions::ActivationFunction; let mut elm = ELM::new(2, 4, 2, ActivationFunction::LeakyReLU, Epsilon::Default); let inputs: Vec> = vec![vec![1.0, 0.0], vec![1.0, 0.0]]; let targets: Vec> = vec![vec![1.0, 1.0], vec![1.0, 1.5]]; elm.train(&inputs, &targets); let new_inputs: Vec> = vec![vec![1.0, 4.0], vec![1.3, 0.6]]; let prediction = elm.predict(&new_inputs); ``` ## Activation functions ![ELU](https://github.com/mbfernan/elm/blob/e3d5484c9680773f4694a8c88f15646fab399a3d/src/docs/activation_functions/Exponential%20Linear%20Units.png?raw=true) ![LeakyReLU](https://github.com/mbfernan/elm/blob/e3d5484c9680773f4694a8c88f15646fab399a3d/src/docs/activation_functions/Leaky%20Rectified%20Linear%20Units.png?raw=true) ![Linear](https://github.com/mbfernan/elm/blob/e3d5484c9680773f4694a8c88f15646fab399a3d/src/docs/activation_functions/Linear.png?raw=true) ![ReLU](https://github.com/mbfernan/elm/blob/e3d5484c9680773f4694a8c88f15646fab399a3d/src/docs/activation_functions/Rectified%20Linear%20Units.png?raw=true) ![Sigmoidal](https://github.com/mbfernan/elm/blob/7fe75cc141db217458fa75fa30b4a3252cc9acca/src/docs/activation_functions/Sigmoidal.png?raw=true) ![Step](https://github.com/mbfernan/elm/blob/e3d5484c9680773f4694a8c88f15646fab399a3d/src/docs/activation_functions/Step.png?raw=true) ![TanH](https://github.com/mbfernan/elm/blob/e3d5484c9680773f4694a8c88f15646fab399a3d/src/docs/activation_functions/Hyperbolic%20Tangent.png?raw=true) ## Road map - [ ] Export module: to save and load previously trained models
Commit count: 33

cargo fmt