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

Recomendados

Shelby mustang von
Shelby mustangShelby mustang
Shelby mustangDigvijaysinh Gohil
491 views20 Folien
Iot Service Layer Evolution von
Iot Service Layer EvolutionIot Service Layer Evolution
Iot Service Layer EvolutiononeM2M
10.2K views22 Folien
Acwp Aerohive configuration guide. von
Acwp Aerohive configuration guide. Acwp Aerohive configuration guide.
Acwp Aerohive configuration guide. armaan7139
8.5K views501 Folien
Introduction to Moodle von
Introduction to MoodleIntroduction to Moodle
Introduction to MoodleSan Diego Continuing Education
2.2K views30 Folien
Obstacle Avoidance Robot (Powered by Arduino) von
Obstacle Avoidance Robot (Powered by Arduino)Obstacle Avoidance Robot (Powered by Arduino)
Obstacle Avoidance Robot (Powered by Arduino)Amanullah Mahmood
1.4K views30 Folien
The Classroom of the Future von
The Classroom of the FutureThe Classroom of the Future
The Classroom of the FutureLiveTiles
4K views45 Folien

Más contenido relacionado

Was ist angesagt?

A seminar report on maglev train von
A seminar report on maglev trainA seminar report on maglev train
A seminar report on maglev train007skpk
27.3K views28 Folien
Reptile robot von
Reptile robotReptile robot
Reptile robotDushyant Maheshwari
757 views18 Folien
Electro mechanical steering system- most advance technology von
Electro mechanical steering system- most advance technologyElectro mechanical steering system- most advance technology
Electro mechanical steering system- most advance technologyPept Yadav
13.4K views27 Folien
CAT5 Cables von
CAT5 CablesCAT5 Cables
CAT5 CablesCort1026
4.2K views12 Folien
Google glass ppt von
Google glass pptGoogle glass ppt
Google glass pptNidhin P Koshy
144K views29 Folien
Moodle Features von
Moodle FeaturesMoodle Features
Moodle FeaturesTomaz Lasic
23K views34 Folien

Was ist angesagt?(20)

A seminar report on maglev train von 007skpk
A seminar report on maglev trainA seminar report on maglev train
A seminar report on maglev train
007skpk27.3K views
Electro mechanical steering system- most advance technology von Pept Yadav
Electro mechanical steering system- most advance technologyElectro mechanical steering system- most advance technology
Electro mechanical steering system- most advance technology
Pept Yadav13.4K views
CAT5 Cables von Cort1026
CAT5 CablesCAT5 Cables
CAT5 Cables
Cort10264.2K views
School Management System in MS Excel von Team Codingparks
School Management System in MS ExcelSchool Management System in MS Excel
School Management System in MS Excel
Team Codingparks2.1K views
Electrodistributeurs 5 voies SMC - Série SY von SMC Pneumatique
Electrodistributeurs 5 voies SMC - Série SYElectrodistributeurs 5 voies SMC - Série SY
Electrodistributeurs 5 voies SMC - Série SY
SMC Pneumatique1.6K views
Rocker bogie mechanism (mars rover) final year mini project final review paper von BIRENDRA KUMAR PANDIT
Rocker bogie mechanism (mars rover) final year mini project final review paper Rocker bogie mechanism (mars rover) final year mini project final review paper
Rocker bogie mechanism (mars rover) final year mini project final review paper
BIRENDRA KUMAR PANDIT18.4K views
Open Source Learning Management System - Canvas von Ebizon
Open Source Learning Management System - CanvasOpen Source Learning Management System - Canvas
Open Source Learning Management System - Canvas
Ebizon4.9K views
Future of technology in education 2019 von Sanket Bambodkar
Future of technology in education 2019Future of technology in education 2019
Future of technology in education 2019
Sanket Bambodkar4.4K views

Similar a ML in Astronomy - Workshop 1.pptx

DL.pdf von
DL.pdfDL.pdf
DL.pdfssuserd23711
19 views23 Folien
Convolutional Neural Network and Its Applications von
Convolutional Neural Network and Its ApplicationsConvolutional Neural Network and Its Applications
Convolutional Neural Network and Its ApplicationsKasun Chinthaka Piyarathna
4.6K views23 Folien
A Survey of Convolutional Neural Networks von
A Survey of Convolutional Neural NetworksA Survey of Convolutional Neural Networks
A Survey of Convolutional Neural NetworksRimzim Thube
116 views27 Folien
Automatic Attendace using convolutional neural network Face Recognition von
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 Folien
Facial Emotion Detection on Children's Emotional Face von
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
39 views73 Folien
Neural network von
Neural networkNeural network
Neural networkSaddam Hussain
777 views17 Folien

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

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

Último

Ansari: Practical experiences with an LLM-based Islamic Assistant von
Ansari: Practical experiences with an LLM-based Islamic AssistantAnsari: Practical experiences with an LLM-based Islamic Assistant
Ansari: Practical experiences with an LLM-based Islamic AssistantM Waleed Kadous
13 views29 Folien
Field Programmable Gate Arrays : Architecture von
Field Programmable Gate Arrays : ArchitectureField Programmable Gate Arrays : Architecture
Field Programmable Gate Arrays : ArchitectureUsha Mehta
33 views74 Folien
MODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVA von
MODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVAMODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVA
MODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVADemian Antony D'Mello
8 views14 Folien
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc... von
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...csegroupvn
17 views210 Folien
CCNA_questions_2021.pdf von
CCNA_questions_2021.pdfCCNA_questions_2021.pdf
CCNA_questions_2021.pdfVUPHUONGTHAO9
11 views196 Folien
IRJET-Productivity Enhancement Using Method Study.pdf von
IRJET-Productivity Enhancement Using Method Study.pdfIRJET-Productivity Enhancement Using Method Study.pdf
IRJET-Productivity Enhancement Using Method Study.pdfSahilBavdhankar
11 views4 Folien

Último(20)

Ansari: Practical experiences with an LLM-based Islamic Assistant von M Waleed Kadous
Ansari: Practical experiences with an LLM-based Islamic AssistantAnsari: Practical experiences with an LLM-based Islamic Assistant
Ansari: Practical experiences with an LLM-based Islamic Assistant
M Waleed Kadous13 views
Field Programmable Gate Arrays : Architecture von Usha Mehta
Field Programmable Gate Arrays : ArchitectureField Programmable Gate Arrays : Architecture
Field Programmable Gate Arrays : Architecture
Usha Mehta33 views
MODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVA von Demian Antony D'Mello
MODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVAMODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVA
MODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVA
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc... von csegroupvn
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
csegroupvn17 views
IRJET-Productivity Enhancement Using Method Study.pdf von SahilBavdhankar
IRJET-Productivity Enhancement Using Method Study.pdfIRJET-Productivity Enhancement Using Method Study.pdf
IRJET-Productivity Enhancement Using Method Study.pdf
SahilBavdhankar11 views
Integrating Sustainable Development Goals (SDGs) in School Education von SheetalTank1
Integrating Sustainable Development Goals (SDGs) in School EducationIntegrating Sustainable Development Goals (SDGs) in School Education
Integrating Sustainable Development Goals (SDGs) in School Education
SheetalTank120 views
Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R... von IJCNCJournal
Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R...Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R...
Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R...
IJCNCJournal5 views
AWS Certified Solutions Architect Associate Exam Guide_published .pdf von Kiran Kumar Malik
AWS Certified Solutions Architect Associate Exam Guide_published .pdfAWS Certified Solutions Architect Associate Exam Guide_published .pdf
AWS Certified Solutions Architect Associate Exam Guide_published .pdf
Details of Acoustic Liner for selection of material von rafiqalisyed
Details of Acoustic Liner for selection of materialDetails of Acoustic Liner for selection of material
Details of Acoustic Liner for selection of material
rafiqalisyed5 views
Unlocking Research Visibility.pdf von KhatirNaima
Unlocking Research Visibility.pdfUnlocking Research Visibility.pdf
Unlocking Research Visibility.pdf
KhatirNaima11 views
GDSC Mikroskil Members Onboarding 2023.pdf von gdscmikroskil
GDSC Mikroskil Members Onboarding 2023.pdfGDSC Mikroskil Members Onboarding 2023.pdf
GDSC Mikroskil Members Onboarding 2023.pdf
gdscmikroskil75 views
Programmable Switches for Programmable Logic Devices von Usha Mehta
Programmable Switches for Programmable Logic DevicesProgrammable Switches for Programmable Logic Devices
Programmable Switches for Programmable Logic Devices
Usha Mehta37 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