1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
extern crate rand;
extern crate ndarray;

extern crate serde;
extern crate serde_json;
extern crate serde_test;
#[macro_use] extern crate serde_derive;


mod macros;

pub mod norms;

mod span;
pub use self::span::Span;

/// 1d array type.
pub type Vector<T = f64> = ndarray::Array1<T>;

/// 2d array type.
pub type Matrix<T = f64> = ndarray::Array2<T>;

mod spaces;
pub mod dimensions;
pub use self::spaces::*;

extern crate rusty_machine;
pub use self::rusty_machine::learning::toolkit::kernel as kernels;