pyrus-nn
Lightweight neural network framework written in Rust, with thin python bindings.
-
Features:
- Serialize networks into/from YAML & JSON!
- Rust -> serde compatible
- Python ->
network.to_dict()
&Sequential.from_dict()
- Python install requires zero dependencies
- No external system libs to install
- Serialize networks into/from YAML & JSON!
-
Draw backs:
- Only supports generic gradient descent.
- Fully connected (Dense) layers only so far
- Activation functions limited to linear, tanh, sigmoid and softmax
- Cost functions limited to MSE, MAE, Cross Entropy and Accuracy
Install:
Python:
pip install pyrus-nn # Has ZERO dependencies!
Rust:
[]
= "0.2.0"
From Python
=
# Create some X and y, each of which must be 2d
=
=
=
From Rust
use Array2;
use ;
// Network with 4 inputs and 1 output.