Saturday, January 30, 2021

Machine Learning - Notation and Definitions - Part 1

 Notation and Definitions

  1) Scalars, Vectors, and Sets:

   A scalar is a simple numerical value, like 15 or - 3.25

   Variables or constants that take scalar values are denoted by an italic letter, like 𝒙.

   A vector is an ordered list of scalar values, called attributes. We denote a vector as a bold character, for example, x or w.

   A set is an unordered collection of unique elements. 

   If a set includes all values between a and b, including a and b, it is denoted using brackets as [a, b].

   For example, the set [0, 1] includes such values as 0, 0.0001, 0.25, 0.784, 0.9995, and 1.0.

   If the set doesn’t include the values a and b, such a set is denoted using parentheses like this: (a, b). 

   For example, the set (0, 1) includes such values as 0.0001, 0.25, 0.784 and 0.9995 but doesn't include 

   0 and 1.

   A special set denoted includes all numbers from -∞ (minus infinity) to +∞ (plus infinity).

   When an element 𝒙 belongs to a set S, we write 𝒙 ∈ S.

   We can obtain a new set S3 as an intersection of two sets S1 and S2. In this case, 

   we write S3 ← S1 ∩ S2.

   For example {1, 3, 5, 8∩ {1, 8, 4} gives the new set {1, 8}. 

   We can obtain a new set S3 as a union of two sets S1 and S2. In this case, we write S3 ← S1 ∪ S2

   For example {1, 3, 5, 8} ∪ {1, 8, 4} gives the new set {1, 3, 4, 5, 8}.

Referenced The Hundred-Page Machine Learning Book - Andriy Burkov



No comments:

Post a Comment