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 de 23

Recomendados

Design and Analysis of Side Force Spring in McPherson Strut - PHASE 1 por
Design and Analysis of Side Force Spring in McPherson Strut - PHASE 1Design and Analysis of Side Force Spring in McPherson Strut - PHASE 1
Design and Analysis of Side Force Spring in McPherson Strut - PHASE 1tulasiva
445 vistas15 diapositivas
DESIGN AND ANALYSIS OF LEAF SPRING BY USING COMPOSITE MATERIAL FOR LIGHT VEHI... por
DESIGN AND ANALYSIS OF LEAF SPRING BY USING COMPOSITE MATERIAL FOR LIGHT VEHI...DESIGN AND ANALYSIS OF LEAF SPRING BY USING COMPOSITE MATERIAL FOR LIGHT VEHI...
DESIGN AND ANALYSIS OF LEAF SPRING BY USING COMPOSITE MATERIAL FOR LIGHT VEHI...IAEME Publication
6.5K vistas24 diapositivas
Seminar ppt on electromagnetic clutch por
Seminar ppt on electromagnetic clutchSeminar ppt on electromagnetic clutch
Seminar ppt on electromagnetic clutchSalman Anis
8.8K vistas15 diapositivas
Connecting rod por
Connecting rodConnecting rod
Connecting rodkarthi d
8K vistas190 diapositivas
Clutch of Motor Bike por
Clutch of Motor BikeClutch of Motor Bike
Clutch of Motor BikeMuhammad Umair Akram
2.5K vistas13 diapositivas
Geneva mechanism ppt por
Geneva mechanism pptGeneva mechanism ppt
Geneva mechanism pptKapil Gaba
37.7K vistas12 diapositivas

Más contenido relacionado

La actualidad más candente

Vibration isolation methods in various industries por
Vibration isolation methods in various industriesVibration isolation methods in various industries
Vibration isolation methods in various industriesYashChanne2
305 vistas15 diapositivas
Unit 3 Free vibration por
Unit 3 Free vibrationUnit 3 Free vibration
Unit 3 Free vibrationParrthipan B K
9.3K vistas32 diapositivas
Impact hammer test por
Impact hammer testImpact hammer test
Impact hammer testDarawan Wahid
2.1K vistas8 diapositivas
AIR SUSPENSION SYSTEM por
AIR SUSPENSION SYSTEM AIR SUSPENSION SYSTEM
AIR SUSPENSION SYSTEM ShamilAk2
439 vistas10 diapositivas
Anti lock braking (ABS) Model based Design in MATLAB-Simulink por
Anti lock braking (ABS) Model based Design in MATLAB-SimulinkAnti lock braking (ABS) Model based Design in MATLAB-Simulink
Anti lock braking (ABS) Model based Design in MATLAB-SimulinkOmkar Rane
2.1K vistas23 diapositivas

La actualidad más candente(20)

Vibration isolation methods in various industries por YashChanne2
Vibration isolation methods in various industriesVibration isolation methods in various industries
Vibration isolation methods in various industries
YashChanne2305 vistas
AIR SUSPENSION SYSTEM por ShamilAk2
AIR SUSPENSION SYSTEM AIR SUSPENSION SYSTEM
AIR SUSPENSION SYSTEM
ShamilAk2439 vistas
Anti lock braking (ABS) Model based Design in MATLAB-Simulink por Omkar Rane
Anti lock braking (ABS) Model based Design in MATLAB-SimulinkAnti lock braking (ABS) Model based Design in MATLAB-Simulink
Anti lock braking (ABS) Model based Design in MATLAB-Simulink
Omkar Rane2.1K vistas
Mechanical Vibration por Ankur Shukla
Mechanical VibrationMechanical Vibration
Mechanical Vibration
Ankur Shukla14.9K vistas
Hidden line removal algorithm por KKARUNKARTHIK
Hidden line removal algorithmHidden line removal algorithm
Hidden line removal algorithm
KKARUNKARTHIK9K vistas
Dynamics Of Machinery por Dhrumit Patel
Dynamics Of MachineryDynamics Of Machinery
Dynamics Of Machinery
Dhrumit Patel2.7K vistas
PPCE unit 3 (ME8793 – PROCESS PLANNING AND COST ESTIMATION) por TAMILMECHKIT
 PPCE  unit 3 (ME8793 – PROCESS PLANNING AND COST ESTIMATION)  PPCE  unit 3 (ME8793 – PROCESS PLANNING AND COST ESTIMATION)
PPCE unit 3 (ME8793 – PROCESS PLANNING AND COST ESTIMATION)
TAMILMECHKIT2.5K vistas
Modification of airflow around a FSAE Race car using sidepods to increase the... por EditorIJAERD
Modification of airflow around a FSAE Race car using sidepods to increase the...Modification of airflow around a FSAE Race car using sidepods to increase the...
Modification of airflow around a FSAE Race car using sidepods to increase the...
EditorIJAERD1.5K vistas
Balancing of reciprocating masses por nmahi96
Balancing of reciprocating massesBalancing of reciprocating masses
Balancing of reciprocating masses
nmahi96220 vistas
Chemical process control a first course with matlab p.c. chau por shubham kumar
Chemical process control a first course with matlab   p.c. chauChemical process control a first course with matlab   p.c. chau
Chemical process control a first course with matlab p.c. chau
shubham kumar1.1K vistas

Similar a ML in Astronomy - Workshop 1.pptx

DL.pdf por
DL.pdfDL.pdf
DL.pdfssuserd23711
19 vistas23 diapositivas
Convolutional Neural Network and Its Applications por
Convolutional Neural Network and Its ApplicationsConvolutional Neural Network and Its Applications
Convolutional Neural Network and Its ApplicationsKasun Chinthaka Piyarathna
4.6K vistas23 diapositivas
A Survey of Convolutional Neural Networks por
A Survey of Convolutional Neural NetworksA Survey of Convolutional Neural Networks
A Survey of Convolutional Neural NetworksRimzim Thube
116 vistas27 diapositivas
Automatic Attendace using convolutional neural network Face Recognition por
Automatic Attendace using convolutional neural network Face RecognitionAutomatic Attendace using convolutional neural network Face Recognition
Automatic Attendace using convolutional neural network Face Recognitionvatsal199567
532 vistas57 diapositivas
Facial Emotion Detection on Children's Emotional Face por
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
38 vistas73 diapositivas
Neural network por
Neural networkNeural network
Neural networkSaddam Hussain
777 vistas17 diapositivas

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

A Survey of Convolutional Neural Networks por Rimzim Thube
A Survey of Convolutional Neural NetworksA Survey of Convolutional Neural Networks
A Survey of Convolutional Neural Networks
Rimzim Thube116 vistas
Automatic Attendace using convolutional neural network Face Recognition por 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 vistas
Deep learning por Rajgupta258
Deep learning Deep learning
Deep learning
Rajgupta2581.7K vistas
Deep learning from a novice perspective por Anirban Santara
Deep learning from a novice perspectiveDeep learning from a novice perspective
Deep learning from a novice perspective
Anirban Santara1.2K vistas
Artificial Neural Network (ANN por Andrew Molina
Artificial Neural Network (ANNArtificial Neural Network (ANN
Artificial Neural Network (ANN
Andrew Molina8 vistas
Visualization of Deep Learning por YaminiAlapati1
Visualization of Deep LearningVisualization of Deep Learning
Visualization of Deep Learning
YaminiAlapati1158 vistas
Introduction to Machine learning & Neural Networks por Ankur Nair
Introduction to Machine learning & Neural NetworksIntroduction to Machine learning & Neural Networks
Introduction to Machine learning & Neural Networks
Ankur Nair105 vistas

Último

Programmable Logic Devices : SPLD and CPLD por
Programmable Logic Devices : SPLD and CPLDProgrammable Logic Devices : SPLD and CPLD
Programmable Logic Devices : SPLD and CPLDUsha Mehta
27 vistas54 diapositivas
Unlocking Research Visibility.pdf por
Unlocking Research Visibility.pdfUnlocking Research Visibility.pdf
Unlocking Research Visibility.pdfKhatirNaima
11 vistas19 diapositivas
CPM Schedule Float.pptx por
CPM Schedule Float.pptxCPM Schedule Float.pptx
CPM Schedule Float.pptxMathew Joseph
8 vistas5 diapositivas
Solution Challenge Introduction.pptx por
Solution Challenge Introduction.pptxSolution Challenge Introduction.pptx
Solution Challenge Introduction.pptxGDSCCEC
13 vistas16 diapositivas
Integrating Sustainable Development Goals (SDGs) in School Education por
Integrating Sustainable Development Goals (SDGs) in School EducationIntegrating Sustainable Development Goals (SDGs) in School Education
Integrating Sustainable Development Goals (SDGs) in School EducationSheetalTank1
13 vistas29 diapositivas
Renewal Projects in Seismic Construction por
Renewal Projects in Seismic ConstructionRenewal Projects in Seismic Construction
Renewal Projects in Seismic ConstructionEngineering & Seismic Construction
8 vistas8 diapositivas

Último(20)

Programmable Logic Devices : SPLD and CPLD por Usha Mehta
Programmable Logic Devices : SPLD and CPLDProgrammable Logic Devices : SPLD and CPLD
Programmable Logic Devices : SPLD and CPLD
Usha Mehta27 vistas
Unlocking Research Visibility.pdf por KhatirNaima
Unlocking Research Visibility.pdfUnlocking Research Visibility.pdf
Unlocking Research Visibility.pdf
KhatirNaima11 vistas
Solution Challenge Introduction.pptx por GDSCCEC
Solution Challenge Introduction.pptxSolution Challenge Introduction.pptx
Solution Challenge Introduction.pptx
GDSCCEC13 vistas
Integrating Sustainable Development Goals (SDGs) in School Education por SheetalTank1
Integrating Sustainable Development Goals (SDGs) in School EducationIntegrating Sustainable Development Goals (SDGs) in School Education
Integrating Sustainable Development Goals (SDGs) in School Education
SheetalTank113 vistas
DevFest 2023 Daegu Speech_이재규, Implementing easy and simple chat with gol... por JQLEE6
DevFest 2023 Daegu Speech_이재규,  Implementing easy and simple chat with gol...DevFest 2023 Daegu Speech_이재규,  Implementing easy and simple chat with gol...
DevFest 2023 Daegu Speech_이재규, Implementing easy and simple chat with gol...
JQLEE68 vistas
2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf por Philipp Daum
2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf
2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf
Philipp Daum5 vistas
Different type of computer networks .pptx por nazmul1514788
Different  type of computer networks .pptxDifferent  type of computer networks .pptx
Different type of computer networks .pptx
nazmul151478819 vistas
Basic Design Flow for Field Programmable Gate Arrays por Usha Mehta
Basic Design Flow for Field Programmable Gate ArraysBasic Design Flow for Field Programmable Gate Arrays
Basic Design Flow for Field Programmable Gate Arrays
Usha Mehta10 vistas
Web Dev Session 1.pptx por VedVekhande
Web Dev Session 1.pptxWeb Dev Session 1.pptx
Web Dev Session 1.pptx
VedVekhande23 vistas
REPORT Data Science EXPERT LECTURE.doc por Parulkhatri11
REPORT Data Science EXPERT LECTURE.docREPORT Data Science EXPERT LECTURE.doc
REPORT Data Science EXPERT LECTURE.doc
Parulkhatri117 vistas
GDSC Mikroskil Members Onboarding 2023.pdf por gdscmikroskil
GDSC Mikroskil Members Onboarding 2023.pdfGDSC Mikroskil Members Onboarding 2023.pdf
GDSC Mikroskil Members Onboarding 2023.pdf
gdscmikroskil72 vistas
Design_Discover_Develop_Campaign.pptx por ShivanshSeth6
Design_Discover_Develop_Campaign.pptxDesign_Discover_Develop_Campaign.pptx
Design_Discover_Develop_Campaign.pptx
ShivanshSeth656 vistas

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