Expand description
If this is your first time using Easy ML you should check out some of the examples to get an overview of how to use matrices or tensors then check out the Matrix type or Tensor type for what you need.
Matrix
is a straightforward 2 dimensional matrix with APIs built around the notion of
rows and columns; Tensor
is a named tensor with full API support for 0 to 6 dimensions.
Naturally, a 2 dimensional tensor is also a matrix, but the APIs are more general so may
be less familiar or ergonomic if all you need is 2 dimensional data.
§Examples
§API Modules
- Matrices
- Named tensors
- Linear Algebra
- Distributions
- (Automatic) Differentiation
- Numerical type definitions
§Miscellaneous
Modules§
- differentiation
- (Automatic) Differentiation helpers
- distributions
- Models of distributions that samples can be drawn from.
- interop
- Interopability APIs between Matrix/MatrixView and Tensor/TensorView.
- k_means
- K-means example
- linear_
algebra - Linear algebra algorithms on numbers and matrices
- linear_
regression - Linear regression examples
- logistic_
regression - Logistic regression example
- matrices
- Generic matrix type.
- naive_
bayes - Naïve Bayes examples
- neural_
networks - Neural Network training examples
- numeric
- Numerical type definitions.
- sarsa
- SARSA and Q-learning using a Matrix for a grid world.
- tensors
- Generic N dimensional named tensors.
- using_
custom_ types - Using custom numeric types examples.
- web_
assembly - Web Assembly examples