DARJEELING
Machine learning tools for Rust
Contact
Installation
Add the following to your Cargo.toml file
darjeeling = "0.2.0"
Example
use ;
use
use ;
/// This program function would read from a file containing all possible inputs to a binary logic gate, and all the correct answers.
/// Then it would train a model with 1 hidden layer.
/// 2 nodes in its input layer, because there are two inputs.
/// 2 Nodes for its output layer because there are two possible answers(the "brighter" one is selected a the chosen answer)
/// and 2 nodes in its hidden layer, because I like patterns.
/// If this doesn't work, check the tests.ts source code for verified working code.
/// Hint: Try fiddling with the learning rate you're using if things aren't working properly
/// Different problems work differently with different learning rates, although I recommend one of 0.5 to start.m
// This isn't very important, this just reads the file you want to and format it as Inputs