Skip to content

Commit

Permalink
Update Mon Feb 7 14:32:33 PST 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
zedchance committed Feb 7, 2022
1 parent f465063 commit 1760e85
Show file tree
Hide file tree
Showing 825 changed files with 102,705 additions and 2,924 deletions.
58 changes: 58 additions & 0 deletions content/CS177/CS177-lecture-20220202.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
title: "CS177-lecture-20220202"
# date: 2022-02-02T09:23:12-08:00
draft: false
bookToc: true
tags: ["data exploration"]
---

## Exploratory analysis cont.

### Representing data cont.

![image_2022-02-02-09-25-53](/notes/image_2022-02-02-09-25-53.png)
![image_2022-02-02-09-25-59](/notes/image_2022-02-02-09-25-59.png)
![image_2022-02-02-09-27-21](/notes/image_2022-02-02-09-27-21.png)
![image_2022-02-02-09-27-26](/notes/image_2022-02-02-09-27-26.png)
![image_2022-02-02-09-27-48](/notes/image_2022-02-02-09-27-48.png)
![image_2022-02-02-09-31-13](/notes/image_2022-02-02-09-31-13.png)
![image_2022-02-02-09-31-25](/notes/image_2022-02-02-09-31-25.png)
![image_2022-02-02-09-31-29](/notes/image_2022-02-02-09-31-29.png)
![image_2022-02-02-09-31-33](/notes/image_2022-02-02-09-31-33.png)
![image_2022-02-02-09-31-50](/notes/image_2022-02-02-09-31-50.png)

### Analyzing data

![image_2022-02-02-09-32-01](/notes/image_2022-02-02-09-32-01.png)
![image_2022-02-02-09-32-13](/notes/image_2022-02-02-09-32-13.png)
![image_2022-02-02-09-32-32](/notes/image_2022-02-02-09-32-32.png)
![image_2022-02-02-09-32-40](/notes/image_2022-02-02-09-32-40.png)
![image_2022-02-02-09-33-03](/notes/image_2022-02-02-09-33-03.png)
![image_2022-02-02-09-33-08](/notes/image_2022-02-02-09-33-08.png)
![image_2022-02-02-09-34-05](/notes/image_2022-02-02-09-34-05.png)
![image_2022-02-02-09-34-11](/notes/image_2022-02-02-09-34-11.png)

## Mining introduction

![image_2022-02-02-09-41-02](/notes/image_2022-02-02-09-41-02.png)
![image_2022-02-02-09-46-34](/notes/image_2022-02-02-09-46-34.png)
![image_2022-02-02-09-49-56](/notes/image_2022-02-02-09-49-56.png)
![image_2022-02-02-09-55-04](/notes/image_2022-02-02-09-55-04.png)
![image_2022-02-02-09-55-13](/notes/image_2022-02-02-09-55-13.png)
![image_2022-02-02-09-56-38](/notes/image_2022-02-02-09-56-38.png)
![image_2022-02-02-10-00-22](/notes/image_2022-02-02-10-00-22.png)
![image_2022-02-02-10-03-20](/notes/image_2022-02-02-10-03-20.png)

### Tasks

![image_2022-02-02-10-07-37](/notes/image_2022-02-02-10-07-37.png)
![image_2022-02-02-10-07-42](/notes/image_2022-02-02-10-07-42.png)

- anomaly detection is relatively new

### Classification

![image_2022-02-02-10-13-57](/notes/image_2022-02-02-10-13-57.png)
![image_2022-02-02-10-16-08](/notes/image_2022-02-02-10-16-08.png)
![image_2022-02-02-10-16-14](/notes/image_2022-02-02-10-16-14.png)

48 changes: 48 additions & 0 deletions content/CS177/CS177-lecture-20220203.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
title: "CS177-lecture-20220203"
# date: 2022-02-03T15:59:28-08:00
draft: false
bookToc: true
tags: ["data exploration"]
---

## Data exploration cont.

### Classification cont.

![image_2022-02-03-16-08-55](/notes/image_2022-02-03-16-08-55.png)
![image_2022-02-03-16-22-59](/notes/image_2022-02-03-16-22-59.png)
![image_2022-02-03-16-24-57](/notes/image_2022-02-03-16-24-57.png)
![image_2022-02-03-16-29-00](/notes/image_2022-02-03-16-29-00.png)

### Regression

![image_2022-02-03-16-29-12](/notes/image_2022-02-03-16-29-12.png)

### Clustering

![image_2022-02-03-16-35-07](/notes/image_2022-02-03-16-35-07.png)
![image_2022-02-03-16-36-11](/notes/image_2022-02-03-16-36-11.png)
![image_2022-02-03-16-44-10](/notes/image_2022-02-03-16-44-10.png)
![image_2022-02-03-16-45-35](/notes/image_2022-02-03-16-45-35.png)

### Association

![image_2022-02-03-16-46-54](/notes/image_2022-02-03-16-46-54.png)
![image_2022-02-03-16-49-13](/notes/image_2022-02-03-16-49-13.png)
![image_2022-02-03-16-51-45](/notes/image_2022-02-03-16-51-45.png)

### Deviation / anomaly / change detection

![image_2022-02-03-16-53-50](/notes/image_2022-02-03-16-53-50.png)

### Challenges

![image_2022-02-03-16-54-10](/notes/image_2022-02-03-16-54-10.png)

- the concept of neural networks has been around for a long time, however only because of recent computational power has it become widely used

## What is data?



30 changes: 30 additions & 0 deletions content/CS191/CS191-lecture-20220202.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: "CS191-lecture-20220202"
# date: 2022-02-02T17:27:32-08:00
draft: false
bookToc: true
tags: ["agile"]
---

## Agile development

![image_2022-02-02-17-44-49](/notes/image_2022-02-02-17-44-49.png)
![image_2022-02-02-17-45-33](/notes/image_2022-02-02-17-45-33.png)
![image_2022-02-02-17-51-24](/notes/image_2022-02-02-17-51-24.png)

### SCRUM

![image_2022-02-02-17-57-13](/notes/image_2022-02-02-17-57-13.png)
![image_2022-02-02-17-57-59](/notes/image_2022-02-02-17-57-59.png)
![image_2022-02-02-18-05-36](/notes/image_2022-02-02-18-05-36.png)
![image_2022-02-02-18-11-58](/notes/image_2022-02-02-18-11-58.png)

### git

![image_2022-02-02-18-12-57](/notes/image_2022-02-02-18-12-57.png)
![image_2022-02-02-18-14-03](/notes/image_2022-02-02-18-14-03.png)
![image_2022-02-02-18-14-16](/notes/image_2022-02-02-18-14-16.png)
![image_2022-02-02-18-15-11](/notes/image_2022-02-02-18-15-11.png)
![image_2022-02-02-18-16-30](/notes/image_2022-02-02-18-16-30.png)


150 changes: 150 additions & 0 deletions content/MATH102/MATH102-lecture-20220201.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
---
title: "MATH102-lecture-20220201"
# date: 2022-02-01T08:56:23-08:00
draft: false
bookToc: true
tags: ["divisibility"]
---

## Divisibility cont.

![image_2022-02-01-08-57-48](/notes/image_2022-02-01-08-57-48.png)

There are many ways to represent 24, but there is only 1 way to represent it as a product of primes.

<blockquote class="book-hint warning">
<em>Theorem.</em>
Whenever we add a number to itself, the sum will be even.
</blockquote>

<blockquote class="book-hint">
<em>Proof.</em>
Let first number be {{<k>}} k {{</k>}}, let the second number be {{<k>}} k {{</k>}}.
So if
{{<k display>}}
\begin{aligned}
k + k = 2k
\end{aligned}
{{</k>}}
and {{<k>}} 2 | 2k {{</k>}}
<p align="right">
{{<k>}} \square {{</k>}}
</p>
</blockquote>

<details open>
<summary>Example</summary>
<div class="markdown-inner">
Prove that if {{<k>}} 10 | a {{</k>}} and {{<k>}} 10 | b {{</k>}}, then {{<k>}} 10 | ma \pm nb {{</k>}}, where {{<k>}} a, b, m, n \in \mathbb{Z} {{</k>}}.

<blockquote class="book-hint">
<em>Proof.</em>
{{<k>}} 10 | a {{</k>}} so {{<k>}} a = 10k_1 {{</k>}},
{{<k>}} 10 | b {{</k>}} so {{<k>}} b = 10k_2 {{</k>}}, where {{<k>}} k_1, k_2 {{</k>}} are unknown {{<k>}} \in \mathbb{Z} {{</k>}}.
{{<k display>}}
\begin{aligned}
ma \pm nb &= m (10k_1) \pm n (10 k_2) \\
&= 10(m k_1 \pm n k_2)
\end{aligned}
{{</k>}}

Note that {{<k>}} (m k_1 \pm n k_2) \in \mathbb{Z} {{</k>}}.

<p align="right">
{{<k>}} \square {{</k>}}
</p>
</blockquote>
</div>
</details>

<details open>
<summary>Example</summary>
<div class="markdown-inner">
{{<k>}} 7 \not | a {{</k>}} and {{<k>}} 7 \not | b {{</k>}}.
{{<k>}} a + b {{</k>}} may or may not be divisible by 7.

For example: {{<k>}} 7 \not | 13 {{</k>}}, {{<k>}} 7 \not | 15 {{</k>}}, but {{<k>}} 7 | (13 + 15) {{</k>}}.

For example: {{<k>}} 7 \not | 15 {{</k>}}, {{<k>}} 7 \not | 16 {{</k>}}, and {{<k>}} 7 \not | (15 + 16) {{</k>}}.
</div>
</details>

<details open>
<summary>Example</summary>
<div class="markdown-inner">
If {{<k>}} 7 | a {{</k>}} and {{<k>}} 7 \not | b {{</k>}}, then it is certainly the case
that {{<k>}} 7 \not | a + b {{</k>}}.

<blockquote class="book-hint">
<em>Proof.</em>
{{<k>}} 7 | a {{</k>}} so {{<k>}} \frac{a}{7} {{</k>}} is a whole number.
{{<k>}} 7 \not | b {{</k>}} so {{<k>}} \frac{b}{7} {{</k>}} is not a whole number.

So {{<k>}} \frac{a}{7} + \frac{b}{7} {{</k>}} is not whole.
Therefore, {{<k>}} \frac{a + b}{7} {{</k>}} is not a whole number.

So, by statement 5: {{<k>}} 7 \not | a + b {{</k>}}.
<p align="right">
{{<k>}} \square {{</k>}}
</p>
</blockquote>
</div>
</details>

### Nmemonics for divisibility

So, based on the examples above:

1. IS + IS = IS
2. IS + IS NOT = IS NOT
3. IS NOT + IS NOT = IS or IS NOT

<details open>
<summary>Example</summary>
<div class="markdown-inner">
{{<k display>}}
\begin{aligned}
7^3 \cdot 19^{24} \not = 5^2 \cdot 11^{30}
\end{aligned}
{{</k>}}

By the fundamental theory of arithmetic, each number only has 1 pf, therefore these number cannot equal each other.
</div>
</details>

Can {{<k>}} 2^6 | 2^5{{</k>}}?
No, because {{<k>}} \frac{2^5}{2^6} = \frac{1}{2} {{</k>}}, which is not a whole number.

<details open>
<summary>Example</summary>
<div class="markdown-inner">
Prove that {{<k>}} 5^3 {{</k>}} cannot divide {{<k>}} 3^2 \cdot 5^2 \cdot 11^3 {{</k>}}.

<blockquote class="book-hint">
<em>Proof.</em>
Numbers that are divisible by {{<k>}} 5^3 {{</k>}} are of the form {{<k>}} 5^3k {{</k>}}.

There are two cases:
1. {{<k>}} k {{</k>}} contains a power of 5, therefore the power of {{<k>}} 5^3k {{</k>}} will be greater than 3.
2. {{<k>}} k {{</k>}} does not contain a power of 5, therefore the power of {{<k>}} 5^3k {{</k>}} is 3.

Both of these scenarios have too many 5s to go into numbers with a {{<k>}} 5^2 {{</k>}} in their prime factorization.
<p align="right">
{{<k>}} \square {{</k>}}
</p>
</blockquote>
</div>
</details>

### Amount of divisors

If {{<k>}} N = 2^{11} \cdot 3 \cdot 19^{20} {{</k>}}.
We can multiply the exponents (+ 1) together to get the total amount of divisors: {{<k>}} (11 + 1) (1 + 1) (20 + 1) = 25 {{</k>}}.

![image_2022-02-01-10-04-28](/notes/image_2022-02-01-10-04-28.png)
![image_2022-02-01-10-11-52](/notes/image_2022-02-01-10-11-52.png)

- the multiplication principle

![image_2022-02-01-10-14-01](/notes/image_2022-02-01-10-14-01.png)

51 changes: 51 additions & 0 deletions content/MATH102/MATH102-lecture-20220203.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
title: "MATH102-lecture-20220203"
# date: 2022-02-03T08:52:46-08:00
draft: false
bookToc: true
tags: ["divisibility"]
---

## Divisibility cont.

![image_2022-02-03-09-10-59](/notes/image_2022-02-03-09-10-59.png)
![image_2022-02-03-09-11-02](/notes/image_2022-02-03-09-11-02.png)

<details open>
<summary>Example</summary>
<div class="markdown-inner">
Find a number with the amount of divisors of {{<k>}} N {{</k>}} to be {{<k>}} 4 \cdot 6 \cdot 3 {{</k>}}.
{{<k display>}}
\begin{aligned}
N = 7^3 \cdot 11^5 \cdot 41^2
\end{aligned}
{{</k>}}
</div>
</details>

![image_2022-02-03-09-20-19](/notes/image_2022-02-03-09-20-19.png)


<blockquote class="book-hint warning">
<em>Theorem.</em>
Consider the 4 digit number {{<k>}} n = \overline{abcd} {{</k>}}.
{{<k>}} n {{</k>}} is divisible by 9 if the sum of its digits {{<k>}} a + b + c + d {{</k>}} is divisible by 9.
</blockquote>

<blockquote class="book-hint">
<em>Proof.</em>
{{<k display>}}
\begin{aligned}
\overline{abcd} &= 1000a + 100b + 10c + d
\end{aligned}
{{</k>}}

<p align="right">
{{<k>}} \square {{</k>}}
</p>
</blockquote>

<blockquote class="book-hint info">
Note: {{<k>}} \overline{abcd} {{</k>}} means a 4 digit number.
</blockquote>

52 changes: 52 additions & 0 deletions content/RPTA125/RPTA125-lecture-20220201.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
title: "RPTA125-lecture-20220201"
# date: 2022-02-01T17:59:38-08:00
draft: false
bookToc: true
tags: ["leisure"]
---

## Overview of Leisure

![image_2022-02-01-18-04-19](/notes/image_2022-02-01-18-04-19.png)
![image_2022-02-01-18-10-21](/notes/image_2022-02-01-18-10-21.png)
![image_2022-02-01-18-11-24](/notes/image_2022-02-01-18-11-24.png)
![image_2022-02-01-18-12-08](/notes/image_2022-02-01-18-12-08.png)
![image_2022-02-01-18-13-31](/notes/image_2022-02-01-18-13-31.png)

To endure rather than to enjoy means: trying to make a living, just to get by.
I plan on being able to balance work life with leisure to not burn out.


### What is leisure?

![image_2022-02-01-18-24-33](/notes/image_2022-02-01-18-24-33.png)
![image_2022-02-01-18-21-00](/notes/image_2022-02-01-18-21-00.png)
![image_2022-02-01-18-25-26](/notes/image_2022-02-01-18-25-26.png)
![image_2022-02-01-18-26-13](/notes/image_2022-02-01-18-26-13.png)
![image_2022-02-01-18-26-32](/notes/image_2022-02-01-18-26-32.png)
![image_2022-02-01-18-27-10](/notes/image_2022-02-01-18-27-10.png)
![image_2022-02-01-18-28-54](/notes/image_2022-02-01-18-28-54.png)
![image_2022-02-01-18-29-58](/notes/image_2022-02-01-18-29-58.png)
![image_2022-02-01-18-31-31](/notes/image_2022-02-01-18-31-31.png)
![image_2022-02-01-18-33-18](/notes/image_2022-02-01-18-33-18.png)
![image_2022-02-01-18-33-47](/notes/image_2022-02-01-18-33-47.png)

### Leisure as a state of mind

![image_2022-02-01-18-36-26](/notes/image_2022-02-01-18-36-26.png)
![image_2022-02-01-18-36-52](/notes/image_2022-02-01-18-36-52.png)
![image_2022-02-01-18-37-47](/notes/image_2022-02-01-18-37-47.png)
![image_2022-02-01-18-37-55](/notes/image_2022-02-01-18-37-55.png)
![image_2022-02-01-18-41-46](/notes/image_2022-02-01-18-41-46.png)
![image_2022-02-01-18-44-13](/notes/image_2022-02-01-18-44-13.png)
![image_2022-02-01-18-45-17](/notes/image_2022-02-01-18-45-17.png)

### Leisure is political

![image_2022-02-01-18-47-57](/notes/image_2022-02-01-18-47-57.png)
![image_2022-02-01-18-48-33](/notes/image_2022-02-01-18-48-33.png)
![image_2022-02-01-18-51-45](/notes/image_2022-02-01-18-51-45.png)
![image_2022-02-01-18-53-12](/notes/image_2022-02-01-18-53-12.png)


0 comments on commit 1760e85

Please sign in to comment.