andy
7bc4dffd8b
Affected files: STEM/AI/Neural Networks/CNN/Examples.md STEM/AI/Neural Networks/CNN/FCN/FCN.md STEM/AI/Neural Networks/CNN/FCN/ResNet.md STEM/AI/Neural Networks/CNN/FCN/Skip Connections.md STEM/AI/Neural Networks/CNN/GAN/DC-GAN.md STEM/AI/Neural Networks/CNN/GAN/GAN.md STEM/AI/Neural Networks/CNN/Interpretation.md STEM/AI/Neural Networks/CNN/UpConv.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/SLP/Least Mean Square.md STEM/AI/Neural Networks/SLP/SLP.md STEM/AI/Neural Networks/Transformers/Transformers.md STEM/AI/Properties.md STEM/CS/Language Binding.md STEM/CS/Languages/dotNet.md STEM/Signal Proc/Image/Image Processing.md
1.9 KiB
1.9 KiB
Loss Function
Objective Function
-
Test accuracy worse than train accuracy = overfitting
-
Automates feature engineering
These are the two essential characteristics of how deep learning learns from data: the incremental, layer-by-layer way in which increasingly complex representations are developed, and the fact that these intermediate incremental representations are learned jointly, each layer being updated to follow both the representational needs of the layer above and the needs of the layer below. Together, these two properties have made deep learning vastly more successful than previous approaches to machine learning.
Steps
Structure defining Compilation
- Loss function
- Metric of difference between output and target
- Optimiser
- How network will update
- Metrics to monitor
- Testing and training Data preprocess
- Reshape input frame into linear array
- Categorically encode labels Fit Predict Evaluate
Data Structure
- Tensor flow = channels last
- (samples, height, width, channels)
- Vector data
- 2D tensors of shape (samples, features)
- Time series data or sequence data
- 3D tensors of shape (samples, timesteps, features)
- Images
- 4D tensors of shape (samples, height, width, channels) or (samples, channels, height, Width)
- Video
- 5D tensors of shape (samples, frames, height, width, channels) or (samples, frames, channels , height, width)