r 0.0.9

a set of utils for machine learning
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//!
//! Here are some toy functions, they will grown up.
//!
//!

///
/// This function will return abstract of your input
///
///
pub fn abs(i: i64) -> i64 {
    if i < 0 {
        -i
    } else {
        i
    }
}