DARJEELING
Machine learning tools for Rust
Contact
Installation
Add the following to your Cargo.toml file
darjeeling = "0.2.1"
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
/// This program creates a test dataframe and series, then performs several test actions on them.
/// I'm sorry about the formatting, I'm not very good at IO formatting
/// Feel Free to reach out and offer a better DataFrame display function
///
/// Expected Output:
/// "col1" "col2" "col3"
/// "row1" 0 1 2
/// "row2" 3 4 5
/// "row3" 6 7 8
/// "col1" "col2" "col3"
/// "row1" 0 1 2
/// "row2" 3 4 5
/// "row3" 6 7 8
/// "Label!" 10 11 12
/// "col1" "col2" "col3"
/// "row1" 0 1 2
/// "row2" 3 4 5
/// "row3" 6 7 8
// Generates example datastructures