matrices/

directory
v0.0.0-...-58805e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2017 License: Apache-2.0

README

Matrix Creation, Modification, and Access

Many modeling, machine learning, and optimization algorithms rely on linear algebra concepts. These concepts include eigenvalues/vectors, matrix multiplication, matrix inversion, and more. Thus, data utilized by data scientists often has to be represented in matrix form, and data scientists will likely need to employ matrix operations in their applications.

Notes

  • A matrix is a rectangular array representation of numbers, expressions, etc.
  • Elements in a matrix are referenced by a row and column index.
  • github.com/gonum/matrix/mat64 provides functionality to create, modify, and manipulate matrices made up of float64 values.

The Matrix Cookbook
Khan Academy - Matrices
Khan Academy - Linear Algebra

Code Review

github/gonum/matrix/mat64 docs
Form a float64 matrix
Modify a matrix
Access values in a matrix
Format matrix output

Exercises

Exercise 1

Create a matrix from diabetes.csv using github.com/gonum/matrix/mat64. Format and output the first 10 rows to standard out.

Template | Answer


All material is licensed under the Apache License Version 2.0, January 2004.

Directories

Path Synopsis
Sample program to read in records from an example CSV file and form a matrix with gonum.
Sample program to read in records from an example CSV file and form a matrix with gonum.
Sample program to show modifications to matrices.
Sample program to show modifications to matrices.
Sample program to access values within a matrix.
Sample program to access values within a matrix.
Sample program to illustrate various ways to format matrix output.
Sample program to illustrate various ways to format matrix output.
exercises
exercise1
Sample program to read in records from a CSV file and form a matrix with gonum.
Sample program to read in records from a CSV file and form a matrix with gonum.
template1
Sample program to read in records from a CSV file and form a matrix with gonum.
Sample program to read in records from a CSV file and form a matrix with gonum.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL