10. A virtual environment is a tool
that helps to keep
dependencies required by
different projects separate by
creating isolated python virtual
environment.
12. I. Create a neural network with Keras
Activation Functions
13. II. Compile the neural network
Loss Functions
measure how
far an
estimated
value is from
its true value.
Example
- Mean
Square
Error
Optimizers are
algorithms used
to change the
attributes of
your neural
network in
order to reduce
the losses.
Example
- Adam
- SGD
14. III. Train the neural network
Epochs ?
Early Stopping ?
Checkpoint ?
17. Integrate with Machine Learning APIs
Advanced ML: ML Infrastructure
Machine learning APIs
Create ML Models with BigQuery ML
Intermediate ML: TensorFlow on GCP
https://www.qwiklabs.com/
Qwiklabs offers training through various Labs which are specially designed to get you trained in Google Cloud Platform (GCP)
A Lab is a medium through which Qwiklabs delivers online training.
A Quest is a series of labs on a particular topic which help you to obtain mastery in a particular topic. After you complete the Lab, you will receive a badge of this Quest, and you can proudly add it to your resume or your LinkedIn profile.
Services : https://cloud.google.com/terms/services
Some Competitors: Amazon Web Services aws /Microsoft Azure /IBM Cloud /
Oracle Cloud Infrastructure (Gen 2) / VMware Cloud on AWS /Alibaba Cloud - International
VM:a virtual machine (VM) is the virtualization/emulation of a computer system
SSH : SSH or Secure Shell is a network communication protocol that enables two computers to communicate
NumPy is a very popular python library for large multi-dimensional array and matrix processing
pip is the package installer for Python
https://www.analyticsvidhya.com/blog/2021/07/understanding-sequential-vs-functional-api-in-keras/
Sequential model : build layer by layer
Model.compile : Compile defines the loss function, the optimizer and the metrics. That's all.
Model.fit : fit the best combination of weights and bias to a machine learning algorithm to minimize a loss function
Units ?
Layers ? (hidden, input, output)
Dense layers ? [dropout, MaxPooling2D, meanpooling, Flatten, Conv2D -D images ... ]
Activation function (sigmoid -D val entre 0 et 1
ReLU pour (Rectified Linear Unit) est définie par : f(x)=max(0,x) pour tout réel x
Sign 1, si pos, -1 si neg
Tanh tangente hyperbolique
https://towardsdatascience.com/activation-functions-neural-networks-1cbd9f8d91d6
Optimizer: Optimizers are algorithms or methods used to change the attributes of your neural network such as weights and learning rate in order to reduce the losses.
Adam: (Adaptive Moment Estimation)
Stochastic gradient descent (often abbreviated SGD)
Loss function
categorical_crossentropy
https://towardsdatascience.com/optimizers-for-training-neural-network-59450d71caf6
Epochs, model checkpoint
Epochs
An epoch is a term used in machine learning and indicates the number of passes of the entire training dataset the machine learning algorithm has completed. Datasets are usually grouped into batches (especially when the amount of data is very large).
- Early stoping
Early stoping: Stop training when a monitored metric has stopped improving.
Checkpoint
Callback to save the Keras model or model weights at some frequency.
How to evaluate el result
accuracy ….
>>> summary ?
>>> It’s your time to practice
https://www.cloudskillsboost.google/quests/119?qlcampaign=1p-EDUCR-DSC-MENA2021-10-77
1)Sign in
2) enroll
3) start lab / end lab
https://www.qwiklabs.com/quests/83?catalog_rank=%7B%22rank%22%3A11%2C%22num_filters%22%3A1%2C%22has_search%22%3Atrue%7D&search_id=12325970
https://www.qwiklabs.com/focuses/7639?parent=catalog