ML in Astronomy - Workshop 1.pptx

An Introduction to
Machine Learning and Deep Learning
Workshop-01
What is Machine Learning?
Supervised Learning
•
•
Linear
Regression
Linear Regression is the
supervised Machine Learning
model in which the model finds
the best fit linear line between the
independent and dependent
variable i.e. it finds the linear
relationship between the
dependent and independent
variable.
Parameters
:
Hypothesis:
Cost Function:
Goal:
• Our Goal now is to minimise the error. i.e. to
minimise the Cost function.
• We need to find the perfect parameters
such that the mean error is minimum.
Understanding the Mathematical and Intuitive Aspects
Logistic
Regression
• Type of statistical model (also
known as logit model), often
used for classification and
predictive analytics.
• Logistic regression estimates
the probability of an event
occurring, such as voting or
not voting, based on a given
dataset of independent
variables.
we have,
We use the "Sigmoid Function," also called the "Logistic
Function":
g(z) outputs a value between 0 and
1
Cost Function:
Prediction
:
Remember that the general form of gradient descent
is:
We can fully write out our entire cost function as
follows:
Gradient
Descent:
k-nearest
neighbours algorithm
This algorithm is based on the assumption
that data points that are close to each other
in space are more likely to belong to the
same class.
Choosing the value of K:
What is Unsupervised learning?
•
•
k-means
algorithm
Step 0: Randomly initialise k cluster
centroids.
Repeat {
Step 1: Assign points to cluster
centroids
Step 2: Move cluster centroids.
}
ML in Astronomy - Workshop 1.pptx
DEEP LEARNING
•
•
Why Deep Learning?
The people in these photos are
infact not real. Yes!! These
people do not exist.
reference: thispersondoesnotexist.com
An architecture called StyleGAN
is used to generate these
almost real faces.
StyleGAN is a modified architecture
of Generative Adversarial
Networks(GANs) which is capable of
generating real-life images
Artificial Neural Networks
The term "Artificial Neural Network" is derived from Biological
neural networks that develop the structure of a human brain.
Similar to the human brain that has neurons interconnected to
one another, artificial neural networks also have neurons that are
interconnected to one another in various layers of the networks.
These neurons are known as nodes.
A Biological Neuron
A typical ANN
Mathematics behind Neural Networks
Convolutional Neural Networks
• A Convolutional Neural Network, also known as CNN or ConvNet, is a class of neural networks that specializes
in processing data that has a grid-like topology, such as an image.
• A digital image is a binary representation of visual data. It contains a series of pixels arranged in a grid-like
fashion that contains pixel values to denote how bright and what color each pixel should be.
A CNN typically has three layers: convolutional,pooling and a fully connected layer.
Principle of convolution
• The principle of the convolution is to slide across the input image from the left to the
right and from the top to the bottom using a specific size window.
• The sliding window in the CNN is called the filter (or kernel), and the area slipped by the
filter is called the receptive field.
• The matrix and the pixel values of the images multiply when the convolutional layer
passes the filter after that the values are added and then deviation value is added.
𝑦=∑(𝑥𝑖𝑗×𝑓𝑖𝑗)+𝑏
Calculation process for the features of the convolution layer
Recurrent Neural Networks
• A recurrent neural network (RNN) is a type of artificial neural network which uses sequential data or time series data.
• These deep learning algorithms are commonly used for ordinal or temporal problems, such as language translation,
natural language processing (nlp), speech recognition, and image captioning.
• Like feedforward and convolutional neural networks (CNNs), recurrent neural networks utilize training data to learn.
They are distinguished by their “memory” as they take information from prior inputs to influence the current input and
output.
• While traditional deep neural networks assume that inputs and outputs are independent of each other, the output of
recurrent neural networks depend on the prior elements within the sequence.
Transformers
Generative Adversarial Networks(GANs)
• Generative Adversarial Networks, or GANs for short, are an approach to generative modeling using deep
learning methods, such as convolutional neural networks.
• Generative modeling is an unsupervised learning task in machine learning that involves automatically
discovering and learning the regularities or patterns in input data in such a way that the model can be used to
generate or output new examples that plausibly could have been drawn from the original dataset.
• GANs are made up of two neural networks
named Generator and Discriminator.
• The generator part of a GAN learns to create
fake data by incorporating feedback from the
discriminator. It learns to make the
discriminator classify its output as real.
• The discriminator in a GAN is simply a
classifier. It tries to distinguish real data from
the data created by the generator. It could
use any network architecture appropriate to
the type of data it's classifying.
Resource
s
• Andrew NG machine learning specialisatiation
• Pytorch Turtorials by Daniel Bourke
• TensorFlow tutorials by Alladin perssson
• Andrew NG Deep Learning Specialisation
• Summer Analytics 2023, IIT Guwahati
1 of 23

Recommended

Drilling Rig Components ( Illustrated Glossary ) by
Drilling Rig Components ( Illustrated Glossary )Drilling Rig Components ( Illustrated Glossary )
Drilling Rig Components ( Illustrated Glossary )guest521158
72.3K views86 slides
Fuel Dispensing Technology by
Fuel Dispensing TechnologyFuel Dispensing Technology
Fuel Dispensing TechnologyEmmanuel Danso
4.5K views20 slides
Drilling Riser Systems from Claxton by
Drilling Riser Systems from ClaxtonDrilling Riser Systems from Claxton
Drilling Riser Systems from ClaxtonClaxton Engineering
2.5K views12 slides
Don-Nan Rod Lift Brochure by
Don-Nan Rod Lift BrochureDon-Nan Rod Lift Brochure
Don-Nan Rod Lift BrochureTyler Fowler
437 views16 slides
Drilling Operations by
Drilling OperationsDrilling Operations
Drilling OperationsTarek Saati
2.6K views14 slides
Guindaste madal md 600 para 60 ton. by
Guindaste madal md 600  para 60 ton.Guindaste madal md 600  para 60 ton.
Guindaste madal md 600 para 60 ton.leonardocurtyy
442 views6 slides

More Related Content

What's hot

Types of Gears by
Types of GearsTypes of Gears
Types of GearsMrunal Mohadikar
31.2K views13 slides
Power System by
Power SystemPower System
Power SystemAFATous
10.1K views22 slides
GE Drilling Systems Brochure by
GE Drilling Systems BrochureGE Drilling Systems Brochure
GE Drilling Systems BrochureRosendo Ramirez
5.4K views15 slides
Drill bit types advantages and disadvantages by
Drill bit types advantages and disadvantagesDrill bit types advantages and disadvantages
Drill bit types advantages and disadvantagesJyoti Khatiwada
7.7K views63 slides
Shuttle valve by
Shuttle valveShuttle valve
Shuttle valvesaahil kshatriya
3.3K views9 slides
Propelling nozzle by
Propelling nozzlePropelling nozzle
Propelling nozzlesundaraero
8.2K views5 slides

What's hot(20)

Power System by AFATous
Power SystemPower System
Power System
AFATous10.1K views
Drill bit types advantages and disadvantages by Jyoti Khatiwada
Drill bit types advantages and disadvantagesDrill bit types advantages and disadvantages
Drill bit types advantages and disadvantages
Jyoti Khatiwada7.7K views
Propelling nozzle by sundaraero
Propelling nozzlePropelling nozzle
Propelling nozzle
sundaraero8.2K views
Engineering mechanics iii-lecture_notes_of_meen-321_kinematics_of_machinery_h... by hitusp
Engineering mechanics iii-lecture_notes_of_meen-321_kinematics_of_machinery_h...Engineering mechanics iii-lecture_notes_of_meen-321_kinematics_of_machinery_h...
Engineering mechanics iii-lecture_notes_of_meen-321_kinematics_of_machinery_h...
hitusp9.3K views
Rotary System by AFATous
Rotary SystemRotary System
Rotary System
AFATous12.8K views
DESCARGAR MANUAL - 793F large mining truck brochure.pdf by FelipeLopez996556
DESCARGAR MANUAL - 793F large mining truck brochure.pdfDESCARGAR MANUAL - 793F large mining truck brochure.pdf
DESCARGAR MANUAL - 793F large mining truck brochure.pdf
FelipeLopez996556214 views
Air Compressor by Parth Patel
Air CompressorAir Compressor
Air Compressor
Parth Patel19.1K views
REGULADOR DE CAUDAL, DE DOS VÍAS TIPO A .pdf by Jovanny Duque
REGULADOR DE CAUDAL, DE DOS VÍAS TIPO A .pdfREGULADOR DE CAUDAL, DE DOS VÍAS TIPO A .pdf
REGULADOR DE CAUDAL, DE DOS VÍAS TIPO A .pdf
Jovanny Duque61 views
Skf sonl-plummer-block-housings by Sahil Kumar
Skf sonl-plummer-block-housingsSkf sonl-plummer-block-housings
Skf sonl-plummer-block-housings
Sahil Kumar15K views
Presentation 2 drilling rig systems by Ali Trichelli
Presentation 2 drilling rig systemsPresentation 2 drilling rig systems
Presentation 2 drilling rig systems
Ali Trichelli821 views
Rotating unbalance system by jani parth
Rotating unbalance systemRotating unbalance system
Rotating unbalance system
jani parth620 views
Pumps in hydraulic system by Ashish Kamble
Pumps in hydraulic systemPumps in hydraulic system
Pumps in hydraulic system
Ashish Kamble7.4K views

Similar to ML in Astronomy - Workshop 1.pptx

DL.pdf by
DL.pdfDL.pdf
DL.pdfssuserd23711
17 views23 slides
Convolutional Neural Network and Its Applications by
Convolutional Neural Network and Its ApplicationsConvolutional Neural Network and Its Applications
Convolutional Neural Network and Its ApplicationsKasun Chinthaka Piyarathna
4.6K views23 slides
A Survey of Convolutional Neural Networks by
A Survey of Convolutional Neural NetworksA Survey of Convolutional Neural Networks
A Survey of Convolutional Neural NetworksRimzim Thube
113 views27 slides
Automatic Attendace using convolutional neural network Face Recognition by
Automatic Attendace using convolutional neural network Face RecognitionAutomatic Attendace using convolutional neural network Face Recognition
Automatic Attendace using convolutional neural network Face Recognitionvatsal199567
532 views57 slides
Facial Emotion Detection on Children's Emotional Face by
Facial Emotion Detection on Children's Emotional FaceFacial Emotion Detection on Children's Emotional Face
Facial Emotion Detection on Children's Emotional FaceTakrim Ul Islam Laskar
34 views73 slides
Neural network by
Neural networkNeural network
Neural networkSaddam Hussain
771 views17 slides

Similar to ML in Astronomy - Workshop 1.pptx(20)

A Survey of Convolutional Neural Networks by Rimzim Thube
A Survey of Convolutional Neural NetworksA Survey of Convolutional Neural Networks
A Survey of Convolutional Neural Networks
Rimzim Thube113 views
Automatic Attendace using convolutional neural network Face Recognition by vatsal199567
Automatic Attendace using convolutional neural network Face RecognitionAutomatic Attendace using convolutional neural network Face Recognition
Automatic Attendace using convolutional neural network Face Recognition
vatsal199567532 views
Deep learning by Rajgupta258
Deep learning Deep learning
Deep learning
Rajgupta2581.6K views
Deep learning from a novice perspective by Anirban Santara
Deep learning from a novice perspectiveDeep learning from a novice perspective
Deep learning from a novice perspective
Anirban Santara1.2K views
Artificial Neural Network (ANN by Andrew Molina
Artificial Neural Network (ANNArtificial Neural Network (ANN
Artificial Neural Network (ANN
Andrew Molina8 views
Visualization of Deep Learning by YaminiAlapati1
Visualization of Deep LearningVisualization of Deep Learning
Visualization of Deep Learning
YaminiAlapati1158 views
Introduction to Machine learning & Neural Networks by Ankur Nair
Introduction to Machine learning & Neural NetworksIntroduction to Machine learning & Neural Networks
Introduction to Machine learning & Neural Networks
Ankur Nair105 views
Introduction to Neural networks (under graduate course) Lecture 9 of 9 by Randa Elanwar
Introduction to Neural networks (under graduate course) Lecture 9 of 9Introduction to Neural networks (under graduate course) Lecture 9 of 9
Introduction to Neural networks (under graduate course) Lecture 9 of 9
Randa Elanwar1.6K views
Machine learning by hplap
Machine learningMachine learning
Machine learning
hplap663 views

Recently uploaded

Update 42 models(Diode/General ) in SPICE PARK(DEC2023) by
Update 42 models(Diode/General ) in SPICE PARK(DEC2023)Update 42 models(Diode/General ) in SPICE PARK(DEC2023)
Update 42 models(Diode/General ) in SPICE PARK(DEC2023)Tsuyoshi Horigome
19 views16 slides
Digital Watermarking Of Audio Signals.pptx by
Digital Watermarking Of Audio Signals.pptxDigital Watermarking Of Audio Signals.pptx
Digital Watermarking Of Audio Signals.pptxAyushJaiswal781174
8 views25 slides
_MAKRIADI-FOTEINI_diploma thesis.pptx by
_MAKRIADI-FOTEINI_diploma thesis.pptx_MAKRIADI-FOTEINI_diploma thesis.pptx
_MAKRIADI-FOTEINI_diploma thesis.pptxfotinimakriadi
6 views32 slides
Informed search algorithms.pptx by
Informed search algorithms.pptxInformed search algorithms.pptx
Informed search algorithms.pptxDr.Shweta
13 views19 slides
DevOps-ITverse-2023-IIT-DU.pptx by
DevOps-ITverse-2023-IIT-DU.pptxDevOps-ITverse-2023-IIT-DU.pptx
DevOps-ITverse-2023-IIT-DU.pptxAnowar Hossain
7 views45 slides
DevOps to DevSecOps: Enhancing Software Security Throughout The Development L... by
DevOps to DevSecOps: Enhancing Software Security Throughout The Development L...DevOps to DevSecOps: Enhancing Software Security Throughout The Development L...
DevOps to DevSecOps: Enhancing Software Security Throughout The Development L...Anowar Hossain
12 views34 slides

Recently uploaded(20)

Update 42 models(Diode/General ) in SPICE PARK(DEC2023) by Tsuyoshi Horigome
Update 42 models(Diode/General ) in SPICE PARK(DEC2023)Update 42 models(Diode/General ) in SPICE PARK(DEC2023)
Update 42 models(Diode/General ) in SPICE PARK(DEC2023)
_MAKRIADI-FOTEINI_diploma thesis.pptx by fotinimakriadi
_MAKRIADI-FOTEINI_diploma thesis.pptx_MAKRIADI-FOTEINI_diploma thesis.pptx
_MAKRIADI-FOTEINI_diploma thesis.pptx
fotinimakriadi6 views
Informed search algorithms.pptx by Dr.Shweta
Informed search algorithms.pptxInformed search algorithms.pptx
Informed search algorithms.pptx
Dr.Shweta13 views
DevOps to DevSecOps: Enhancing Software Security Throughout The Development L... by Anowar Hossain
DevOps to DevSecOps: Enhancing Software Security Throughout The Development L...DevOps to DevSecOps: Enhancing Software Security Throughout The Development L...
DevOps to DevSecOps: Enhancing Software Security Throughout The Development L...
Anowar Hossain12 views
Design and analysis of a new undergraduate Computer Engineering degree – a me... by WaelBadawy6
Design and analysis of a new undergraduate Computer Engineering degree – a me...Design and analysis of a new undergraduate Computer Engineering degree – a me...
Design and analysis of a new undergraduate Computer Engineering degree – a me...
WaelBadawy653 views
What is Whirling Hygrometer.pdf by IIT KHARAGPUR
What is Whirling Hygrometer.pdfWhat is Whirling Hygrometer.pdf
What is Whirling Hygrometer.pdf
IIT KHARAGPUR 11 views
STUDY OF SMART MATERIALS USED IN CONSTRUCTION-1.pptx by AnnieRachelJohn
STUDY OF SMART MATERIALS USED IN CONSTRUCTION-1.pptxSTUDY OF SMART MATERIALS USED IN CONSTRUCTION-1.pptx
STUDY OF SMART MATERIALS USED IN CONSTRUCTION-1.pptx
AnnieRachelJohn31 views
Multi-objective distributed generation integration in radial distribution sy... by IJECEIAES
Multi-objective distributed generation integration in radial  distribution sy...Multi-objective distributed generation integration in radial  distribution sy...
Multi-objective distributed generation integration in radial distribution sy...
IJECEIAES15 views
Effect of deep chemical mixing columns on properties of surrounding soft clay... by AltinKaradagli
Effect of deep chemical mixing columns on properties of surrounding soft clay...Effect of deep chemical mixing columns on properties of surrounding soft clay...
Effect of deep chemical mixing columns on properties of surrounding soft clay...
AltinKaradagli6 views
Literature review and Case study on Commercial Complex in Nepal, Durbar mall,... by AakashShakya12
Literature review and Case study on Commercial Complex in Nepal, Durbar mall,...Literature review and Case study on Commercial Complex in Nepal, Durbar mall,...
Literature review and Case study on Commercial Complex in Nepal, Durbar mall,...
AakashShakya1257 views
Machine Element II Course outline.pdf by odatadese1
Machine Element II Course outline.pdfMachine Element II Course outline.pdf
Machine Element II Course outline.pdf
odatadese17 views

ML in Astronomy - Workshop 1.pptx

  • 1. An Introduction to Machine Learning and Deep Learning Workshop-01
  • 2. What is Machine Learning?
  • 4. Linear Regression Linear Regression is the supervised Machine Learning model in which the model finds the best fit linear line between the independent and dependent variable i.e. it finds the linear relationship between the dependent and independent variable.
  • 5. Parameters : Hypothesis: Cost Function: Goal: • Our Goal now is to minimise the error. i.e. to minimise the Cost function. • We need to find the perfect parameters such that the mean error is minimum. Understanding the Mathematical and Intuitive Aspects
  • 6. Logistic Regression • Type of statistical model (also known as logit model), often used for classification and predictive analytics. • Logistic regression estimates the probability of an event occurring, such as voting or not voting, based on a given dataset of independent variables.
  • 7. we have, We use the "Sigmoid Function," also called the "Logistic Function": g(z) outputs a value between 0 and 1 Cost Function: Prediction :
  • 8. Remember that the general form of gradient descent is: We can fully write out our entire cost function as follows: Gradient Descent:
  • 9. k-nearest neighbours algorithm This algorithm is based on the assumption that data points that are close to each other in space are more likely to belong to the same class. Choosing the value of K:
  • 10. What is Unsupervised learning? • •
  • 11. k-means algorithm Step 0: Randomly initialise k cluster centroids. Repeat { Step 1: Assign points to cluster centroids Step 2: Move cluster centroids. }
  • 15. The people in these photos are infact not real. Yes!! These people do not exist. reference: thispersondoesnotexist.com An architecture called StyleGAN is used to generate these almost real faces. StyleGAN is a modified architecture of Generative Adversarial Networks(GANs) which is capable of generating real-life images
  • 16. Artificial Neural Networks The term "Artificial Neural Network" is derived from Biological neural networks that develop the structure of a human brain. Similar to the human brain that has neurons interconnected to one another, artificial neural networks also have neurons that are interconnected to one another in various layers of the networks. These neurons are known as nodes. A Biological Neuron A typical ANN
  • 18. Convolutional Neural Networks • A Convolutional Neural Network, also known as CNN or ConvNet, is a class of neural networks that specializes in processing data that has a grid-like topology, such as an image. • A digital image is a binary representation of visual data. It contains a series of pixels arranged in a grid-like fashion that contains pixel values to denote how bright and what color each pixel should be. A CNN typically has three layers: convolutional,pooling and a fully connected layer.
  • 19. Principle of convolution • The principle of the convolution is to slide across the input image from the left to the right and from the top to the bottom using a specific size window. • The sliding window in the CNN is called the filter (or kernel), and the area slipped by the filter is called the receptive field. • The matrix and the pixel values of the images multiply when the convolutional layer passes the filter after that the values are added and then deviation value is added. 𝑦=∑(𝑥𝑖𝑗×𝑓𝑖𝑗)+𝑏 Calculation process for the features of the convolution layer
  • 20. Recurrent Neural Networks • A recurrent neural network (RNN) is a type of artificial neural network which uses sequential data or time series data. • These deep learning algorithms are commonly used for ordinal or temporal problems, such as language translation, natural language processing (nlp), speech recognition, and image captioning. • Like feedforward and convolutional neural networks (CNNs), recurrent neural networks utilize training data to learn. They are distinguished by their “memory” as they take information from prior inputs to influence the current input and output. • While traditional deep neural networks assume that inputs and outputs are independent of each other, the output of recurrent neural networks depend on the prior elements within the sequence.
  • 22. Generative Adversarial Networks(GANs) • Generative Adversarial Networks, or GANs for short, are an approach to generative modeling using deep learning methods, such as convolutional neural networks. • Generative modeling is an unsupervised learning task in machine learning that involves automatically discovering and learning the regularities or patterns in input data in such a way that the model can be used to generate or output new examples that plausibly could have been drawn from the original dataset. • GANs are made up of two neural networks named Generator and Discriminator. • The generator part of a GAN learns to create fake data by incorporating feedback from the discriminator. It learns to make the discriminator classify its output as real. • The discriminator in a GAN is simply a classifier. It tries to distinguish real data from the data created by the generator. It could use any network architecture appropriate to the type of data it's classifying.
  • 23. Resource s • Andrew NG machine learning specialisatiation • Pytorch Turtorials by Daniel Bourke • TensorFlow tutorials by Alladin perssson • Andrew NG Deep Learning Specialisation • Summer Analytics 2023, IIT Guwahati