Machine Learning with Spark - Second Edition
by Rajdeep Dua, Brian O'Neill, Stephen Boesch, Manpreet Singh Ghotra, Nick Pentreath
Hyperplanes
Vectors of field type real numbers are difficult to visualize if n is not 1,2, or 3. Familiar objects like lines and planes make sense for any value of n. Line L along the direction defined by a vector v, through a point P labeled by a vector u, can be written as follows:
L = {u + tv | t ∈ R}
Given two non-zero vectors, u and v, they determine a plane if both the vectors are not in the same line, and one of the vectors is a scalar multiple of the other. The addition of two vectors is accomplished by laying the vectors head to tail in a sequence to create a triangle. If u and v lie in a plane, then their sum lies in the plane of u and v. The plane represented by two vectors u and v can be mathematically shown as follows:
{P ...
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.
Read now
Unlock full access