vault backup: 2023-06-08 17:52:08
Affected files: .obsidian/graph.json .obsidian/workspace-mobile.json .obsidian/workspace.json Food/Meal Plan.md Lab/Linux/Alpine.md Lab/Linux/KDE.md Lab/Scratch Domain.md Lab/Windows/Active Directory.md Languages/Spanish/README.md Languages/Spanish/Spanish.md Money/Accounts.md Money/Monthly/23-04.md Money/Monthly/23-05.md Money/Monthly/23-06.md Projects/Mixonomer.md Projects/NoteCrawler.md Projects/Projects.md Projects/README.md Projects/Selector.md Projects/To Do App.md Projects/img/selector-arch.png STEM/AI/Classification/Supervised/SVM.md STEM/AI/Neural Networks/CNN/FCN/Super-Resolution.md STEM/AI/Neural Networks/CNN/GAN/GAN.md STEM/AI/Neural Networks/CNN/GAN/cGAN.md STEM/AI/Neural Networks/CNN/Interpretation.md STEM/AI/Neural Networks/Deep Learning.md STEM/AI/Neural Networks/MLP/MLP.md STEM/AI/Neural Networks/Properties+Capabilities.md STEM/AI/Neural Networks/RNN/Representation Learning.md STEM/AI/Pattern Matching/Markov/Markov.md STEM/AI/Searching/Informed.md STEM/AI/Searching/README.md STEM/AI/Searching/Searching.md STEM/AI/Searching/Uninformed.md STEM/CS/Languages/Javascript.md STEM/CS/Languages/Python.md STEM/CS/Languages/dotNet.md STEM/CS/Resources.md STEM/IOT/Cyber-Physical Systems.md STEM/IOT/Networking/Networking.md STEM/IOT/Networking/README.md STEM/IOT/Software Services.md STEM/img/cyberphysical-social-data.png STEM/img/cyberphysical-system-types.png STEM/img/cyberphysical-systems.png STEM/img/depth-first-cons.png STEM/img/depth-first.png STEM/img/iot-mesh-network.png STEM/img/iot-network-radar.png STEM/img/iot-network-types 1.png STEM/img/iot-network-types.png STEM/img/markov-start-end-matrix.png STEM/img/markov-start-end-probs.png STEM/img/markov-start-end.png STEM/img/markov-state-duration.png STEM/img/markov-state.png STEM/img/markov-weather.png STEM/img/search-bidirectional.png STEM/img/search-breadth-first.png STEM/img/search-lim-goal.png STEM/img/search-lim1.png STEM/img/search-lim2.png STEM/img/search-lim3-2.png STEM/img/search-lim3.png STEM/img/search-lim4.png STEM/img/searching-graph-tree.png STEM/img/searching-graph.png Work/Freelancing.md
@ -5,11 +5,11 @@
|
|||||||
- Optimal hyperplane for a space
|
- Optimal hyperplane for a space
|
||||||
- Margin maximising hyperplane
|
- Margin maximising hyperplane
|
||||||
- Can be used for
|
- Can be used for
|
||||||
- Classification
|
- [Classification](../Classification.md)
|
||||||
- SVC
|
- SVC
|
||||||
- Regression
|
- Regression
|
||||||
- SVR
|
- SVR
|
||||||
- Alternative to Eigenmodels for supervised classification
|
- Alternative to Eigenmodels for [supervised](../../Learning.md#Supervised) classification
|
||||||
- For smaller datasets
|
- For smaller datasets
|
||||||
- Hard to scale on larger sets
|
- Hard to scale on larger sets
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
- Bi-cubic
|
- Bi-cubic
|
||||||
- Encode-decode to deep sharpen
|
- Encode-decode to deep sharpen
|
||||||
- No ground truth
|
- No ground truth
|
||||||
- Unsupervised?
|
- [Unsupervised](../../../Learning.md#Un-Supervised)?
|
||||||
- Decoder stage
|
- Decoder stage
|
||||||
- Identical architecture to encoder
|
- Identical architecture to encoder
|
||||||
![super-res](../../../../img/super-res.png)
|
![super-res](../../../../img/super-res.png)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
- Remove [Max Pooling](../Max%20Pooling.md)
|
- Remove [Max Pooling](../Max%20Pooling.md)
|
||||||
- Use strided [UpConv](../UpConv.md)
|
- Use strided [UpConv](../UpConv.md)
|
||||||
- Remove [FC](../../MLP/MLP.md) layers
|
- Remove [FC](../../MLP/MLP.md) layers
|
||||||
- Hurts convergence in non-classification
|
- Hurts convergence in non-[classification](../../../Classification/Classification.md)
|
||||||
- Normalisation tricks
|
- Normalisation tricks
|
||||||
- Batch normalisation
|
- Batch normalisation
|
||||||
- Batches of 0 mean and variance 1
|
- Batches of 0 mean and variance 1
|
||||||
|
@ -5,7 +5,7 @@ Conditional [GAN](GAN.md)
|
|||||||
- Condition synthesis on a class label
|
- Condition synthesis on a class label
|
||||||
- Concatenate unconditional code with conditioning vector
|
- Concatenate unconditional code with conditioning vector
|
||||||
- Label
|
- Label
|
||||||
- No longer unsupervised
|
- No longer [unsupervised](../../../Learning.md#Un-Supervised)
|
||||||
- Everything labelled
|
- Everything labelled
|
||||||
- Fake images and dataset
|
- Fake images and dataset
|
||||||
- **Requires pairing**
|
- **Requires pairing**
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
- Update image
|
- Update image
|
||||||
|
|
||||||
![am-process](../../../img/am-process.png)
|
![am-process](../../../img/am-process.png)
|
||||||
## Regulariser
|
## R3egulariser
|
||||||
- Fit to natural image statistics
|
- Fit to natural image statistics
|
||||||
- Prone to high frequency noise
|
- Prone to high frequency noise
|
||||||
- Minimise
|
- Minimise
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
![deep-digit-classification](../../img/deep-digit-classification.png)
|
![deep-digit-classification](../../img/deep-digit-classification.png)
|
||||||
|
|
||||||
|
OCR [Classification](../Classification/Classification.md)
|
||||||
|
|
||||||
# Loss Function
|
# Loss Function
|
||||||
Objective Function
|
Objective Function
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
- Universal approximation theorem
|
- Universal approximation theorem
|
||||||
- Each hidden layer can operate as a different feature extraction layer
|
- Each hidden layer can operate as a different feature extraction layer
|
||||||
- Lots of [weights](../Weight%20Init.md) to learn
|
- Lots of [weights](../Weight%20Init.md) to learn
|
||||||
- [Back-Propagation](Back-Propagation.md) is supervised
|
- [Back-Propagation](Back-Propagation.md) is [supervised](../../Learning.md#Supervised)
|
||||||
|
|
||||||
![mlp-arch](../../../img/mlp-arch.png)
|
![mlp-arch](../../../img/mlp-arch.png)
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
# Input-Output Mapping
|
# Input-Output Mapping
|
||||||
- Map input signal to desired response
|
- Map input signal to desired response
|
||||||
- Supervised learning
|
- [Supervised](../Learning.md#Supervised) learning
|
||||||
- Similar to non-parametric statistical inference
|
- Similar to non-parametric statistical inference
|
||||||
- Non-parametric as in no prior assumptions
|
- Non-parametric as in no prior assumptions
|
||||||
- No probabilistic model
|
- No probabilistic model
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Unsupervised
|
# [Un-Supervised](../../Learning.md#Un-Supervised)
|
||||||
|
|
||||||
- Auto-encoder FCN
|
- Auto-encoder FCN
|
||||||
- Learns bottleneck (latent) representation
|
- Learns bottleneck (latent) representation
|
||||||
@ -6,7 +6,7 @@
|
|||||||
- $f(.)$ is CNN encoding function
|
- $f(.)$ is CNN encoding function
|
||||||
![](../../../img/unsup-representation-learning.png)
|
![](../../../img/unsup-representation-learning.png)
|
||||||
|
|
||||||
# Supervised
|
# [Supervised](../../Learning.md#Supervised)
|
||||||
- Triplet loss
|
- Triplet loss
|
||||||
- Providing positive and negative requires supervision
|
- Providing positive and negative requires supervision
|
||||||
- Two losses
|
- Two losses
|
||||||
|
@ -0,0 +1,56 @@
|
|||||||
|
[Hidden Markov Models - JWMI Github](https://jwmi.github.io/ASM/5-HMMs.pdf)
|
||||||
|
[Rabiner - A Tutorial on Hidden Markov Models and Selected Applications in Speech Recognition](https://www.cs.cmu.edu/~cga/behavior/rabiner1.pdf)
|
||||||
|
|
||||||
|
- Stochastic sequences of discrete states
|
||||||
|
- Transitions have probabilities
|
||||||
|
- Desired output not always produced the same
|
||||||
|
- Same pronunciation
|
||||||
|
|
||||||
|
![](../../../img/markov-state.png)
|
||||||
|
|
||||||
|
$$P(X|M)=\left(\prod_{t=1}^Ta_{x_{t-1}x_t}\right)\eta_{x_T}$$
|
||||||
|
$$a_{x_0x_1}=\pi_{x_1}$$
|
||||||
|
|
||||||
|
# 1st Order
|
||||||
|
- Depends only on previous state
|
||||||
|
- Markov assumption
|
||||||
|
|
||||||
|
$$P(x_t=j|x_{t-1}=i,x_{t-2}=h,...)\approx P(x_t=j|x_{t-1}=i)$$
|
||||||
|
|
||||||
|
- Described by state-transition probabilities
|
||||||
|
|
||||||
|
$$a_{ij}=P(x_t=j|x_{t-1}=i), 1\leq i,j\leq N$$
|
||||||
|
|
||||||
|
- $\alpha$
|
||||||
|
- State transition
|
||||||
|
- For $N$ states
|
||||||
|
- $N$ by $N$ matrix of state transition probabilities
|
||||||
|
|
||||||
|
# Weather
|
||||||
|
|
||||||
|
![](../../../img/markov-weather.png)
|
||||||
|
$$A=\left\{a_{ij}\right\}=\begin{bmatrix} 0.4 & 0.3 & 0.3\\ 0.2 & 0.6 & 0.2 \\ 0.1 & 0.1 & 0.8 \end{bmatrix}$$
|
||||||
|
rain, cloud, sun across columns and down rows
|
||||||
|
$$A=\{\pi_j,a_{ij},\eta_i\}=\{P(x_t=j|x_{t-1}=i)\}$$
|
||||||
|
|
||||||
|
# Start/End
|
||||||
|
- Null states
|
||||||
|
- Entry/exit states
|
||||||
|
- Don't generate observations
|
||||||
|
|
||||||
|
![](../../../img/markov-start-end.png)
|
||||||
|
$$\pi_j=P(x_1=j) \space 1 \leq j \leq N$$
|
||||||
|
- Sub $j$ because probability of kicking off into that state
|
||||||
|
$$\eta_i=P(x_T=i) \space 1 \leq i \leq N$$
|
||||||
|
- Sub $i$ because probability of finishing from that state
|
||||||
|
|
||||||
|
![](../../../img/markov-start-end-probs.png)
|
||||||
|
![](../../../img/markov-start-end-matrix.png)
|
||||||
|
|
||||||
|
# State Duration
|
||||||
|
- Probability of staying in state decays exponentially
|
||||||
|
$$p(X|x_1=i,M)=(a_{ii})^{\tau-1}(1-a_{ii})$$
|
||||||
|
![](../../../img/markov-state-duration.png)
|
||||||
|
- Given, $a_{33}=0.8$
|
||||||
|
- $\times0.8$ repeatedly
|
||||||
|
- Stay in state
|
43
AI/Searching/Informed.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# Best First
|
||||||
|
|
||||||
|
- Uniform cost uses an evaluation function
|
||||||
|
- Doesn't necessarily direct towards goal
|
||||||
|
- Doesn't know how far to goal
|
||||||
|
- Only cost so far
|
||||||
|
- Still blind
|
||||||
|
- Look forward
|
||||||
|
- Lot of techniques aiming to define best node
|
||||||
|
|
||||||
|
1. Expand node closest to goal
|
||||||
|
- Greedy
|
||||||
|
2. Expand node on least cost solution path
|
||||||
|
- A*
|
||||||
|
|
||||||
|
# Greedy
|
||||||
|
- **Estimate** distance to goal
|
||||||
|
- Often can't determine exactly
|
||||||
|
- This cost is a heuristic
|
||||||
|
- Could be crow-flies distance
|
||||||
|
- Expand nodes in increasing order of heuristic cost
|
||||||
|
- **Fast**
|
||||||
|
- **Not optimal**
|
||||||
|
- Simple heuristic
|
||||||
|
|
||||||
|
# A*
|
||||||
|
- Combines advantages of uniform cost and greedy search
|
||||||
|
- ***Optimal & Complete***
|
||||||
|
- $h(n)$
|
||||||
|
- Estimate of distance to goal
|
||||||
|
- Greedy
|
||||||
|
- $g(n)$
|
||||||
|
- Cost of cumulative path
|
||||||
|
- *Uniform cost*
|
||||||
|
- $f(n)=g(n)+h(n)$
|
||||||
|
- Heuristic must be ***admissible***
|
||||||
|
- Underestimates the distance to the goal
|
||||||
|
- Never overestimates
|
||||||
|
- Monotonic
|
||||||
|
- Expand other low cost paths
|
||||||
|
- Pathmax
|
||||||
|
- For heuristics which might not be monotonic
|
||||||
|
- Select last option if going in wrong direction
|
1
AI/Searching/README.md
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
Searching.md
|
60
AI/Searching/Searching.md
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
# [Uninformed](Uninformed.md)
|
||||||
|
- Breadth First
|
||||||
|
- Uniform Cost
|
||||||
|
- Depth First
|
||||||
|
- Depth Limited
|
||||||
|
- Iterative Deepening
|
||||||
|
- Bi-directional
|
||||||
|
|
||||||
|
## Characteristics
|
||||||
|
- Goal-led
|
||||||
|
- No information on # steps
|
||||||
|
- General purpose
|
||||||
|
- Weak
|
||||||
|
- Optimal
|
||||||
|
- Exact
|
||||||
|
|
||||||
|
# [Informed](Informed.md)
|
||||||
|
- Best First
|
||||||
|
- Greedy
|
||||||
|
- Route Planning
|
||||||
|
- A*
|
||||||
|
|
||||||
|
## Characteristics
|
||||||
|
- Knowledge used to limit # possibilities
|
||||||
|
- Intelligent heuristic methods
|
||||||
|
- May give sub-optimal / wrong results
|
||||||
|
|
||||||
|
# Exhaustive
|
||||||
|
- All possibilities
|
||||||
|
|
||||||
|
# Evaluation
|
||||||
|
- Completeness
|
||||||
|
- Guaranteed to find a solution?
|
||||||
|
- Time Complexity
|
||||||
|
- How long?
|
||||||
|
- Space Complexity
|
||||||
|
- How much memory?
|
||||||
|
- Optimality
|
||||||
|
- Is solution the best solution?
|
||||||
|
|
||||||
|
# Queuing
|
||||||
|
- Search strategy dictates which nodes on frontier to expand in which order
|
||||||
|
- Easiest to implement as a queue
|
||||||
|
- Breadth first
|
||||||
|
- New nodes to back of queue
|
||||||
|
- Depth first
|
||||||
|
- New nodes added to front of queue
|
||||||
|
- Likely need to use recursion
|
||||||
|
- Uniform cost
|
||||||
|
- Nodes added to queue in order of lowest cost first
|
||||||
|
|
||||||
|
# Abstraction
|
||||||
|
- Remove superfluous information
|
||||||
|
- Represent problem in ***state space***
|
||||||
|
- States reachable from initial state by actions is ***path***
|
||||||
|
|
||||||
|
|
||||||
|
![](../../img/searching-graph.png)
|
||||||
|
|
||||||
|
![](../../img/searching-graph-tree.png)
|
44
AI/Searching/Uninformed.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# Breadth First
|
||||||
|
- Uniform cost with cost function proportional to depth
|
||||||
|
- All of each layer
|
||||||
|
- Max nodes before solution
|
||||||
|
- $=1+b+b^2+b^3+b^4+...+b^n$
|
||||||
|
- Time, space complexity = $O(b)^d$
|
||||||
|
- Exponential
|
||||||
|
- Lots of time but complete and optimal
|
||||||
|
- Goal at depth, $d1$
|
||||||
|
- $1+b+b^2+b^3+b^4+...+b^{d-1}=\frac{b^d-1}{b-1}$
|
||||||
|
- Average at $\frac{1+b^d}{2}$ terminal nodes
|
||||||
|
|
||||||
|
![](../../img/search-breadth-first.png)
|
||||||
|
|
||||||
|
# Depth First
|
||||||
|
- Between $(1+d)$ and $(\frac{b^{d+1}-1}{b-1})$
|
||||||
|
- If at left hand side or right hand side
|
||||||
|
- Much less memory space than BFS
|
||||||
|
- Non-optimal, non-complete
|
||||||
|
![](../../img/depth-first.png)
|
||||||
|
![](../../img/depth-first-cons.png)
|
||||||
|
|
||||||
|
## Depth Limited
|
||||||
|
- Predetermined max depth
|
||||||
|
- Only complete if max depth is sufficiently large
|
||||||
|
- Hard to determine
|
||||||
|
|
||||||
|
|
||||||
|
# Bi-Directional
|
||||||
|
- Out from start and goal until they meet
|
||||||
|
- If done with heuristics
|
||||||
|
- May not crossover
|
||||||
|
|
||||||
|
![](../../img/search-bidirectional.png)
|
||||||
|
|
||||||
|
# Iterative Deepening
|
||||||
|
- Combine BFS and DFS
|
||||||
|
|
||||||
|
![](../../img/search-lim1.png)
|
||||||
|
![](../../img/search-lim2.png)
|
||||||
|
![](../../img/search-lim3.png)
|
||||||
|
![](../../img/search-lim3-2.png)
|
||||||
|
![](../../img/search-lim4.png)
|
||||||
|
![](../../img/search-lim-goal.png)
|
29
CS/Languages/Javascript.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
[https://www.learnui.design/blog/spice-up-designs.html](https://www.learnui.design/blog/spice-up-designs.html)
|
||||||
|
|
||||||
|
# Modules
|
||||||
|
- For splitting files
|
||||||
|
|
||||||
|
## import
|
||||||
|
`import defaultExport from "module-name";`
|
||||||
|
`import { export1, export2 } from "module-name";`
|
||||||
|
|
||||||
|
- Read-only live bindings
|
||||||
|
- Exported from another module
|
||||||
|
- Come in strict mode
|
||||||
|
|
||||||
|
### Dynamic Import
|
||||||
|
- Conditionally or on demand
|
||||||
|
|
||||||
|
`import('/modules/module.js')`
|
||||||
|
`.then((module) => {`
|
||||||
|
`// Do something`
|
||||||
|
`});`
|
||||||
|
|
||||||
|
`let module = await import('/modules/module.js');`
|
||||||
|
|
||||||
|
## Export
|
||||||
|
- Stick in front of statements
|
||||||
|
|
||||||
|
`export const name = 'square';`
|
||||||
|
`export function …`
|
||||||
|
`export { name, draw, reportArea, reportPerimeter };`
|
@ -18,7 +18,7 @@ Publication-quality Graphs
|
|||||||
[NLTK](https://www.nltk.org)
|
[NLTK](https://www.nltk.org)
|
||||||
NLP
|
NLP
|
||||||
|
|
||||||
If you are not getting good results, you should first check that you are using the right classification algorithm (is your data well fit to be classified by a linear SVM?) and that you have enough training data. Practically, that means you might consider visualizing your dataset through PCA or t-SNE to see how "clustered" your classes are, and checking how your classification metrics evolve with the amount of data your classifier is given.
|
If you are not getting good results, you should first check that you are using the right [classification](../../AI/Classification/Classification.md) algorithm (is your data well fit to be classified by a linear SVM?) and that you have enough training data. Practically, that means you might consider visualizing your dataset through PCA or t-SNE to see how "clustered" your classes are, and checking how your classification metrics evolve with the amount of data your classifier is given.
|
||||||
|
|
||||||
If you then confirm that investing in tweaking your linear SVM is the right way to approach your problem, you can look at modifying the class weights. Note then that what you suggest as weights is probably the opposite of what you want to do: you are giving more weights to less frequent classes, marginalizing them further - said differently, you typically want to use weights that are inversely proportional to class frequencies. You can calculate these manually, or you can let sklearn do it automatically for you by specificing class_weight='balanced'.
|
If you then confirm that investing in tweaking your linear SVM is the right way to approach your problem, you can look at modifying the class weights. Note then that what you suggest as weights is probably the opposite of what you want to do: you are giving more weights to less frequent classes, marginalizing them further - said differently, you typically want to use weights that are inversely proportional to class frequencies. You can calculate these manually, or you can let sklearn do it automatically for you by specificing class_weight='balanced'.
|
||||||
|
|
||||||
|
@ -30,4 +30,8 @@
|
|||||||
- Portable executable (PE)
|
- Portable executable (PE)
|
||||||
- DLL, EXE
|
- DLL, EXE
|
||||||
|
|
||||||
![cli-infrastructure](../../img/cli-infrastructure.png)
|
![cli-infrastructure](../../img/cli-infrastructure.png)
|
||||||
|
|
||||||
|
## Resources
|
||||||
|
[Make microservices fun again with Dapr](https://www.daveabrock.com/2021/04/29/meet-dapr/)
|
||||||
|
[Dapr for .NET](https://docs.microsoft.com/en-gb/dotnet/architecture/dapr-for-net-developers/)
|
@ -1,2 +1,7 @@
|
|||||||
#lit
|
#lit
|
||||||
[Wigle - wifi enumerating](http://wigle.net)
|
[Wigle - wifi enumerating](http://wigle.net)
|
||||||
|
|
||||||
|
[0xAX/linux-insides book](https://github.com/0xAX/linux-insides)
|
||||||
|
[s-matyukevich/raspberry-pi-os](https://github.com/s-matyukevich/raspberry-pi-os)
|
||||||
|
|
||||||
|
[binhnguyennus/awesome-scalability](https://github.com/binhnguyennus/awesome-scalability)
|
21
IOT/Cyber-Physical Systems.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
- Highly pervasive
|
||||||
|
- High automated
|
||||||
|
- More decentralised
|
||||||
|
|
||||||
|
- Collaborating computational elements to control physical entities
|
||||||
|
- Integrates
|
||||||
|
- Computation
|
||||||
|
- Networking
|
||||||
|
- Physical processes
|
||||||
|
|
||||||
|
![](../img/cyberphysical-systems.png)
|
||||||
|
|
||||||
|
# Cyber-Physical Social Data
|
||||||
|
![](../img/cyberphysical-social-data.png)
|
||||||
|
|
||||||
|
![](../img/cyberphysical-system-types.png)
|
||||||
|
- Middle indicates a network but
|
||||||
|
- Small
|
||||||
|
- Proprietary
|
||||||
|
- Closed
|
||||||
|
- Cannot be extended that far
|
76
IOT/Networking/Networking.md
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
#net
|
||||||
|
![](../../img/iot-network-types.png)
|
||||||
|
|
||||||
|
# Gateway
|
||||||
|
- Connects IoT devices to internet
|
||||||
|
- Operator deployed
|
||||||
|
- LTE etc
|
||||||
|
- Self-deployed
|
||||||
|
- Wi-Fi
|
||||||
|
## Roles
|
||||||
|
- Machine-to-machine connections
|
||||||
|
- Cheaper telecoms cost
|
||||||
|
- Cheaper hardware
|
||||||
|
- Not everything has to be LTE connected
|
||||||
|
- Simpler config
|
||||||
|
- Translate protocols between IoT and internet
|
||||||
|
- Processing data
|
||||||
|
- Encrypting, filtering, consolidating
|
||||||
|
- Boundary between networks
|
||||||
|
- Security
|
||||||
|
|
||||||
|
![](../../img/iot-network-radar.png)
|
||||||
|
|
||||||
|
# Network Module
|
||||||
|
- 802.15.4 only a channel
|
||||||
|
- End-to-end provided by network module
|
||||||
|
- Multi-hop wireless network
|
||||||
|
- Wireless sensor networks (WSN)
|
||||||
|
- Wireless mobile ad hoc networks (MANET)
|
||||||
|
- Wireless mesh network (WMN)
|
||||||
|
- Vehicular ad hoc network (VANET)
|
||||||
|
## Roles
|
||||||
|
- Management
|
||||||
|
- Packet
|
||||||
|
- Adapting size and format
|
||||||
|
- Address
|
||||||
|
- Adapting and/or resolving addresses
|
||||||
|
- Device
|
||||||
|
- Joining/leaving of nodes
|
||||||
|
- Service
|
||||||
|
- Add-ons such as security
|
||||||
|
- Operational
|
||||||
|
- Route discovery & maintenance
|
||||||
|
- Packet forwarding
|
||||||
|
|
||||||
|
# Performance
|
||||||
|
- Power consumption
|
||||||
|
- Limited supply
|
||||||
|
- Significant power in communications
|
||||||
|
- Network Lifetime
|
||||||
|
- Duration of proper operation
|
||||||
|
- Before no longer provides services
|
||||||
|
- When a node fails
|
||||||
|
- Design-time
|
||||||
|
- Design deployment that will last
|
||||||
|
- Run-time
|
||||||
|
- Dynamic operation to conserve energy usage
|
||||||
|
- All layers
|
||||||
|
- App
|
||||||
|
- Consolidating data
|
||||||
|
- Adaptive frequency for data grouping
|
||||||
|
- Network
|
||||||
|
- Avoid aggressive topology maintenance
|
||||||
|
- MAC
|
||||||
|
- Duty-cycle MAC to keep radio asleep
|
||||||
|
- Physical
|
||||||
|
- Power level control
|
||||||
|
## Issues
|
||||||
|
- Bottleneck
|
||||||
|
- One node relaying lots of data
|
||||||
|
- Bad placement of gateway
|
||||||
|
|
||||||
|
![](../../img/iot-network-types%201.png)
|
||||||
|
![](../../img/iot-mesh-network.png)
|
||||||
|
- Low power devices
|
||||||
|
- Multi-hop
|
1
IOT/Networking/README.md
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
Networking.md
|
71
IOT/Software Services.md
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
- Large number of heterogeneous devices
|
||||||
|
- Spread physically
|
||||||
|
- Ability to join and leave
|
||||||
|
- Process data in-network or send directly
|
||||||
|
|
||||||
|
# Challenges
|
||||||
|
- Fault tolerance
|
||||||
|
- Nodes can
|
||||||
|
- Get damaged
|
||||||
|
- Run out of power
|
||||||
|
- Lose comms
|
||||||
|
- Redundant deployment
|
||||||
|
- Lifetime
|
||||||
|
- Limited energy supply
|
||||||
|
- Replacing sometimes not practical
|
||||||
|
- Underwater
|
||||||
|
- Large/remote field deployments
|
||||||
|
- Energy efficient a necessity
|
||||||
|
- Scalability
|
||||||
|
- WSM can have lots of nodes
|
||||||
|
- Architectures and protocols need to scale
|
||||||
|
- Densities
|
||||||
|
- Density of network can vary
|
||||||
|
- Granularity
|
||||||
|
- Coverage
|
||||||
|
- Different applications warrant different numbers
|
||||||
|
- Range of nodes
|
||||||
|
- Space and time requirement
|
||||||
|
- Not necessarily homogenous density throughout
|
||||||
|
- Need to handle this
|
||||||
|
- Programmability
|
||||||
|
- Flexible nodes with changing tasks
|
||||||
|
- Changeable programs during operation
|
||||||
|
- Maintainability
|
||||||
|
- WSN and environment can change
|
||||||
|
- Adaptable system
|
||||||
|
- Changing operational parameters
|
||||||
|
- To increase energy efficiency for example
|
||||||
|
|
||||||
|
# Node Types
|
||||||
|
- Sensor
|
||||||
|
- Low power
|
||||||
|
- Sensing, memory, processor, radio
|
||||||
|
- Resource-constrained
|
||||||
|
- Sink
|
||||||
|
- Another sensor node
|
||||||
|
- Or different wireless node
|
||||||
|
- Normally more powerful/better resources
|
||||||
|
- Gateway
|
||||||
|
- Bridge IoT and internet networks
|
||||||
|
- More powerful
|
||||||
|
- Can have
|
||||||
|
- Service representation
|
||||||
|
- Cache/storage
|
||||||
|
- Discovery
|
||||||
|
|
||||||
|
# Application Types
|
||||||
|
- Event detection
|
||||||
|
- Reporting event occurrences
|
||||||
|
- Reporting abnormalities
|
||||||
|
- May need collaboration with other nodes
|
||||||
|
- Defining events and classification difficult
|
||||||
|
- Periodic measurements
|
||||||
|
- Sense something and report
|
||||||
|
- Period is application-dependent
|
||||||
|
- Approximation and pattern detection
|
||||||
|
- Sense messages in space and time
|
||||||
|
- E.g. combine wind, light, heat to detect forest fires
|
||||||
|
- Tracking
|
||||||
|
- Source of event is mobile
|
||||||
|
- Event updates with location information
|
BIN
img/cyberphysical-social-data.png
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
img/cyberphysical-system-types.png
Normal file
After Width: | Height: | Size: 205 KiB |
BIN
img/cyberphysical-systems.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
img/depth-first-cons.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
img/depth-first.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
img/iot-mesh-network.png
Normal file
After Width: | Height: | Size: 87 KiB |
BIN
img/iot-network-radar.png
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
img/iot-network-types 1.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
img/iot-network-types.png
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
img/markov-start-end-matrix.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
img/markov-start-end-probs.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
img/markov-start-end.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
img/markov-state-duration.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
img/markov-state.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
img/markov-weather.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
img/search-bidirectional.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
img/search-breadth-first.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
img/search-lim-goal.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
img/search-lim1.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
img/search-lim2.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
img/search-lim3-2.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
img/search-lim3.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
img/search-lim4.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
img/searching-graph-tree.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
img/searching-graph.png
Normal file
After Width: | Height: | Size: 57 KiB |