## Learn from doing

### 1. Formular to represent a dataset

This is about a dataset that “n” number of tuples (x,y) with “x” exists in “p” dimension space while “y” has value either 1 or 0.

$$\mathcal{D} = \{ (\mathbf{x}_i, y_i)\mid\mathbf{x}_i \in \mathbb{R}^p,\, y_i \in \{-1,1\}\}_{i=1}^n$$
• \mathcal: this is for calligraphic font built into LaTeX
• \mathbf: bold font
• \mathbb: dsfont reference
• \mathscr: script letters
• \mathfrak: for Fraktur (old German letters)
• \mathtt: for typewriter font
• \mathrm: for roman font
• _: underscore is to denote subscripts
• ^: superscripts
• \mid: draw the middle line separator
• \in: exists in
• ()[] \{ \}: parenthese

### 2. Summation and fraction

$$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$
• subscript with superscript right after
• use bracket to group

### 3. Sums and integrals

$$\sum \int \sum_1^n \sum_{i=0}^\infty i^2 \prod \bigcup \bigcap \iint$$

### 4. Common symbols

• $$\lt \gt \le \ge \neq$$
• $$\times \div \pm \mp$$
• $$\cup \cap \setminus \subset \subseteq \supset \in \notin \emptyset$$
• $$\to \rightarrow \leftarrow \Rightarrow \Leftarrow \mapsto$$
• $$\ldots \cdots$$

## Reference

Use demo/demo public access

Back to
Choose A Format
Personality quiz
Trivia quiz
Poll
Story
List
Meme
Video
Audio
Image