Skip to content

Hello, World!

矩阵和向量

If you spend much time learning and applying machine learning, you will see abunch of references to matrices and vectors. In fact, many machine learningalgorithms boil down to a series of iterative operations on matrices. What arematrices and vectors, and how do we represent them in our Go programs?

For the most part, we will utilize packages from github.com/gonum to form and workwith matrices and vectors. This is a great series of Go packages focused onnumerical computing, and they just keep getting better and better.

译: 如果您花费大量时间学习和应用机器学习,则会看到大量关于矩阵和向量的引用。 实际上,许多机器学习算法都归结为一系列针对矩阵的迭代运算。 什么是矩阵和向量,以及我们如何在Go程序中表示它们?

在大多数情况下,我们将使用github.com/gonum中的包来形成和使用矩阵和向量。 这是一系列专注于数值计算的Go软件包,而且它们一直在变得越来越好。