Skip to Content
Data Science with Java
book

Data Science with Java

by Michael R. Brzustowicz
June 2017
Beginner to intermediate
233 pages
5h 57m
English
O'Reilly Media, Inc.
Content preview from Data Science with Java

Chapter 2. Linear Algebra

Now that we have spent a whole chapter acquiring data in some format or another, we will most likely end up viewing the data (in our minds) in the form of spreadsheet. It is natural to envision the names of each column going across from left to right (age, address, ID number, etc.), with each row representing a unique record or data point. Much of data science comes down to this exact formulation. What we are seeking to find is a relationship between any number of columns of interest (which we will call variables) and any number of columns that indicate a measurable outcome (which we will call responses).

Typically, we use the letter to denote the variables, and y for the responses. Likewise, the responses can be designated by a matrix Y that has a number of columns and must have the same number of rows m as X does. Note that in many cases, there is only one dimension of response variable such that p equals 1. However, it helps to generalize linear algebra problems to arbitrary ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Java for Data Science

Mastering Java for Data Science

Alexey Grigorev
Java: Data Science Made Easy

Java: Data Science Made Easy

Richard M. Reese, Jennifer L. Reese, Alexey Grigorev

Publisher Resources

ISBN: 9781491934104Errata PageSupplemental Content