DARJEELING
Machine learning tools for Rust
Contact
Installation
Add the following to your Cargo.toml file
darjeeling = "0.1.4"
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 it's input layer, because there are two inputs.
/// 2 Nodes for it's output layer because there are two possible answers(the "brighter" one is selected a the chosen answer)
/// and 2 nodes in it's 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
// Read the file you want to and format it as Inputs