SlideShare a Scribd company logo
1 of 70
Download to read offline
Join the conversation #AU2017
Join the conversation #AU2017
Introduction to Machine Learning for Building Design
and Construction
Mehdi Nourbakhsh, Ph.D.
Sr. Research Scientist, Autodesk Research
mehdi.nourbakhsh [at] Autodesk.com
 What is AI/ML?
 History of ML
 Application of ML in AEC
 ML Glossary
 ML Types
 ML Process
 ML Algorithms
 Decision Tree
 Artificial Neural Network
 Wrap up
Contents:
What is AI/ML?
History of AI/ML
A lot more
here
Day-to-day ML Applications
 Demo
Application of ML in AEC
 Data, sample
 Variables, attributes, features
 Feature vector
 Input, output
ML Glossary
outlook temperature humidity windy construction
Day 1 overcast hot high FALSE yes
Day 2 rainy cool normal TRUE yes
Day 3 sunny mild high FALSE no
ML Glossary
Feature Vector= (overcast, hot, high, FALSE)
What is the goal?
ML Glossary
Model
Outlook
Temperature
Humidity
Windy
Construction
Input Output or label
F(Outlook, Temperature, Humidity, Windy) = Ŷ
A1 A2 A3 Y
1 0.2 Yes 0.32
5 0.56 No 0.58
2 0.56 Yes 0.23
3 0.6 Yes 0.39
Exercise 1
In the following example, what is/are:
• Samples
• Features
• Input
• output
ML Types
ML Types
ML Types
ML Types
A1 A2 A3 Y
1 0.2 Yes 0.32
5 0.56 No 0.58
2 0.56 Yes 0.23
3 0.6 Yes 0.39
Exercise 1.5
Is this a supervised or unsupervised learning?
Is this a classification or regression problem?
 Donten in a company that has more than 10,000 building models in their
database. These models are either residential, office space, or warehouses.
They want to categorize their models into these three groups and seek your
recommendation as a thought-leader in the industry. Which one do you
recommend?
 Hiring 20 people to manually open all of the models and categorize them in 10
months?
 Using machine learning to automatically categorize the models in a month?
(why does it take a month?)
Exercise 2
 Which type of ML is this?
 How should we describe this
problem to the machine?
 Data?
 Features?
 Input, output?
Exercise 2
Model
?
?
…
?
?
Input Output
Residential Warehouse Office
Simplified ML process
In practice, this is not a straightforward process, there are lots of
back and forth between the steps.
ML Algorithms: Decision Tree
Predict if
construction will
happen?
Exercise 3: Decision Tree
Take a guess…
Exercise 3: Decision Tree
Follow this algorithm:
• Divide into subsets
• Are they pure? (all
‘yes’ or ‘no’)
• Yes->done
• No-> repeat
Exercise 3: Decision Tree 9 Yes / 4 No
Follow this algorithm :
• Divide into subsets
• Are they pure? (all
‘yes’ or ‘no’)
• Yes->done
• No-> repeat
Exercise 3: Decision Tree 9 Yes / 4 No
Follow this algorithm :
• Divide into subsets
• Are they pure? (all
‘yes’ or ‘no’)
• Yes->done
• No-> repeat
Exercise 3: Decision Tree
Exercise 3: Decision Tree
Exercise 3: Decision Tree
Exercise 3: Decision Tree
Exercise 3: Decision Tree
Demo in Weka
Section break (5 min)
ML Algorithms: Artificial Neural Network
Source: https://www.intechopen.com/source/html/39067/media/image1.png
A) human neuron;
B) artificial neuron;
C) biological synapse;
D) ANN synapses
 A construction company completed three projects. The estimated and actual
construction cost of each project is presented in the following table. Your task
is to design a cost model for the company based on the available data and
predict how much is the actual cost of ‘proj 4’.
Exercise 4: Construction Cost Model
Estimated Construction Cost Actual Construction Cost
proj 1 350 420
proj 2 200 250
proj 3 500 700
Proj 4 400 ?
 A construction company completed three projects. The estimated and actual
construction cost of each project is presented in the following table. Your task is
to design a cost model for the company based on the available data.
Exercise 4: Construction Cost Model
Input
(X)
Output
(Y)
* W
Estimated Construction Cost Actual Construction Cost
proj 1 350 420
proj 2 200 250
proj 3 500 700
Proj 4 400 ?
 One way of doing it:
 A= Sum all estimated costs
 B = Sum all actual costs
 W = B/A
Exercise 4: Construction Cost Model
Estimated Construction Cost Actual Construction Cost
proj 1 350 420
proj 2 200 250
proj 3 500 700
Sum 1050 1370
B/A 1.30
Is it good? Why not 1.5 or 2.0?
Y=1.30X
 Measure of goodness = less error
 What is the error of the model?
Exercise 4: Construction Cost Model
Estimated Construction Cost Actual Construction Cost Predicted Cost (y=1.3x) Error
proj 1 350 420 455 ?
proj 2 200 250 260 ?
proj 3 500 700 650 ?
Exercise 4: Construction Cost Model
Absolute error = | predicted cost – actual cost |
Estimated Construction Cost Actual Construction Cost Predicted Cost (y=1.3x) Error
proj 1 350 420 455 -35
proj 2 200 250 260 -10
proj 3 500 700 650 50
We don’t like negative error
Mean absolute error (MAE) = ∑| predicted cost – actual cost | / no of samples
What is the mean absolute error of the model? 31.67
absolute
 Let’s try other Ws:
Exercise 4: Construction Cost Model
Estimated Construction Cost Actual Construction Cost y=1.3x y=1.4x y=1.5x
proj 1 350 420 455 588 682.5
proj 2 200 250 260 350 390
proj 3 500 700 650 980 975
31.67 182.67 47.5
MAE
Input
(X)
Output
(Y)
* W=1.3
Our Neural Net model:
 Let’s see if we can do better:
Exercise 4: Construction Cost Model
X Y
* W + b
Y = W*x + b
input output
weight bias
Exercise 4: Construction Cost Model
W/b -70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70
1 177 167 157 147 137 127 117 107 97 87 77 67 57 53 50
1.1 142 132 122 112 102 92 82 72 62 52 42 42 45 48 52
1.2 107 97 87 77 67 57 47 37 33 37 40 43 47 50 53
1.3 72 62 52 42 35 32 28 32 35 38 42 45 48 58 68
1.4 37 33 30 27 23 27 30 33 43 53 63 73 83 93 103
1.5 25 22 18 28 38 48 58 68 78 88 98 108 118 128 138
1.6 33 43 53 63 73 83 93 103 113 123 133 143 153 163 173
1.7 68 78 88 98 108 118 128 138 148 158 168 178 188 198 208
1.8 103 113 123 133 143 153 163 173 183 193 203 213 223 233 243
1.9 138 148 158 168 178 188 198 208 218 228 238 248 258 268 278
2 173 183 193 203 213 223 233 243 253 263 273 283 293 303 313
?
Y=2x-70
Y=x Y=x+70
Y=2x+70
Y=x-70
What is the mean absolute error of these models?
Exercise 4: Construction Cost Model
W/b -70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70
1 177 167 157 147 137 127 117 107 97 87 77 67 57 53 50
1.1 142 132 122 112 102 92 82 72 62 52 42 42 45 48 52
1.2 107 97 87 77 67 57 47 37 33 37 40 43 47 50 53
1.3 72 62 52 42 35 32 28 32 35 38 42 45 48 58 68
1.4 37 33 30 27 23 27 30 33 43 53 63 73 83 93 103
1.5 25 22 18 28 38 48 58 68 78 88 98 108 118 128 138
1.6 33 43 53 63 73 83 93 103 113 123 133 143 153 163 173
1.7 68 78 88 98 108 118 128 138 148 158 168 178 188 198 208
1.8 103 113 123 133 143 153 163 173 183 193 203 213 223 233 243
1.9 138 148 158 168 178 188 198 208 218 228 238 248 258 268 278
2 173 183 193 203 213 223 233 243 253 263 273 283 293 303 313
What model is better?
W/b -70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70
1 177 167 157 147 137 127 117 107 97 87 77 67 57 53 50
1.1 142 132 122 112 102 92 82 72 62 52 42 42 45 48 52
1.2 107 97 87 77 67 57 47 37 33 37 40 43 47 50 53
1.3 72 62 52 42 35 32 28 32 35 38 42 45 48 58 68
1.4 37 33 30 27 23 27 30 33 43 53 63 73 83 93 103
1.5 25 22 18 28 38 48 58 68 78 88 98 108 118 128 138
1.6 33 43 53 63 73 83 93 103 113 123 133 143 153 163 173
1.7 68 78 88 98 108 118 128 138 148 158 168 178 188 198 208
1.8 103 113 123 133 143 153 163 173 183 193 203 213 223 233 243
1.9 138 148 158 168 178 188 198 208 218 228 238 248 258 268 278
2 173 183 193 203 213 223 233 243 253 263 273 283 293 303 313
Exercise 4: Construction Cost Model
X Y
* W + b
Y = 1.5*x -50
input output
weight bias
Congratulation! You
have trained your first
neural network model!!!
Exercise 4: Construction Cost Model
Y = 1.5*x -50
Estimated Construction Cost Actual Construction Cost
proj 1 350 420
proj 2 200 250
proj 3 500 700
Proj 4 400 ?
Y = 1.5*400 -50
= 550 answer
ML Algorithms: Artificial Neural Network
X1
Y
*W1
+ b
X2 *W2
Y = W1x1+ W2x2 + b
Estimated Construction Cost Average temperature Actual Construction Cost
proj 1 350 62 420
proj 2 200 55 250
proj 3 500 85 700
Proj 4 400 53 ?
ML Algorithms: Artificial Neural Network
X1
f
*W1
+ b
X2 *W2
f = W1x1+ W2x2 + b
T(f)
Weighted
sum of
input
Activation
function
Ŷ
Predicted
value
Exercise 5:
X1
f
*W1
+ b
X2 *W2
f = W1x1+ W2x2 + b
T(f) Ŷ ?
What is the predicted value (Ŷ) if:
X1=0.2 , X2= -0.3
W1=0.5, W2=0.5
b= 0.1
Exercise 5:
X1
f
*W1
+ b
X2 *W2
f = W1x1+ W2x2 + b = 0.2*0.5-0.3*0.5+0.1=0.05
T(f)=T(0.05) = 1
T(f) Ŷ ?
What is the predicted value if:
X1=0.2 , X2= -0.3
W1=0.5, W2=0.5
b= 0.1
Some activation functions
threshold sigmoid
tanh
ReLU
ML Algorithms: Artificial Neural Network
Now, let’s talk about a group of neurons working together.
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
X1
f
*W
1
+ b
X2
*W
2
T(f) Ŷ
Hmmm… looks very messy. Let’s come up with a shorter from
of a neuron.
ML Algorithms: Shorter form of a neuron
X1
T(F=∑(XiWi+b))
*W1
b
X2 *W2
X1
f
*W1
+ b
X2 *W2
T(f) Ŷ
ML Algorithms: Short form of a neuron
n
X1
T(F=∑(XiWi+b))
*W1
b
X2 *W2
layer
Neuron at this layer
n
n
n
n
n
n
Can you identify input/output/hidden layer?
Input layer Output layer
Hidden layer
What is the error?
Error = |y- |
Demo in Weka
 What are the repetitive tasks that you do in your everyday job and ML can help
you to automate?
Exercise 5
 What are the problems that you have no idea how to solve or things that you
have no idea how to do, and ML can help you to do or resolve it?
Exercise 5
 Imaging you have a personal assistant agent that is like a trusted collaborator: it
can brainstorm with you, it can do research for you, it can tell if your idea
doesn’t work because of this and that, it can fill in the role of other parties (if
you are an architect, it can provide you with the knowledge of engineering or
construction). What are the things that you want your assistant to do for you.
Exercise 5
Wrap up
 What is AI/ML?
 History of ML
 Application of ML
 ML Glossary
 ML Types
 ML Process
 ML Algorithms
Wrap up
 What is AI/ML?
 History of ML
 Application of ML
 ML Glossary
 ML Types
 ML Process
 ML Algorithms
Wrap up
 What is AI/ML?
 History of ML
 Application of ML
 ML Glossary
 ML Types
 ML Process
 ML Algorithms
Wrap up
 What is AI/ML?
 History of ML
 Application of ML
 ML Glossary
 ML Types
 ML Process
 ML Algorithms
Model
Outlook
Temperature
Humidity
Windy
Construction
Input Output or label
F(Outlook, Temperature, Humidity, Windy) = Ŷ
Wrap up
 What is AI/ML?
 History of ML
 Application of ML
 ML Glossary
 ML Types
 ML Process
 ML Algorithms
Wrap up
 What is AI/ML?
 History of ML
 Application of ML
 ML Glossary
 ML Types
 ML Process
 ML Algorithms
Wrap up
 What is AI/ML?
 History of ML
 Application of ML
 ML Glossary
 ML Types
 ML Process
 ML Algorithms
 Decision Tree
 Neural Network
Wrap up
 What is AI/ML?
 History of ML
 Application of ML
 ML Glossary
 ML Types
 ML Process
 ML Algorithms
 Decision Tree
 Neural Network
Autodesk and the Autodesk logo are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the
right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graphical errors that may appear in this document.
© 2017 Autodesk. All rights reserved.

More Related Content

Similar to REvit training

Introduction to computing Processing and performance.pdf
Introduction to computing Processing and performance.pdfIntroduction to computing Processing and performance.pdf
Introduction to computing Processing and performance.pdfTulasiramKandula1
 
Department of MathematicsMTL107 Numerical Methods and Com.docx
Department of MathematicsMTL107 Numerical Methods and Com.docxDepartment of MathematicsMTL107 Numerical Methods and Com.docx
Department of MathematicsMTL107 Numerical Methods and Com.docxsalmonpybus
 
Tensor flow description of ML Lab. document
Tensor flow description of ML Lab. documentTensor flow description of ML Lab. document
Tensor flow description of ML Lab. documentjeongok1
 
Fuzzy image processing- fuzzy C-mean clustering
Fuzzy image processing- fuzzy C-mean clusteringFuzzy image processing- fuzzy C-mean clustering
Fuzzy image processing- fuzzy C-mean clusteringFarah M. Altufaili
 
Sheet1Washer ThicknessKevinYuxuanBolt DimensionsKevinYuxuanSample .docx
Sheet1Washer ThicknessKevinYuxuanBolt DimensionsKevinYuxuanSample .docxSheet1Washer ThicknessKevinYuxuanBolt DimensionsKevinYuxuanSample .docx
Sheet1Washer ThicknessKevinYuxuanBolt DimensionsKevinYuxuanSample .docxmaoanderton
 
CE344L-200365-Lab5.pdf
CE344L-200365-Lab5.pdfCE344L-200365-Lab5.pdf
CE344L-200365-Lab5.pdfUmarMustafa13
 
power system operation and control unit commitment .pdf
power system operation and control unit commitment .pdfpower system operation and control unit commitment .pdf
power system operation and control unit commitment .pdfArnabChakraborty499766
 
Top school in India
Top school in IndiaTop school in India
Top school in IndiaEdhole.com
 
Lesson 26: Integration by Substitution (handout)
Lesson 26: Integration by Substitution (handout)Lesson 26: Integration by Substitution (handout)
Lesson 26: Integration by Substitution (handout)Matthew Leingang
 
Two algorithms to accelerate training of back-propagation neural networks
Two algorithms to accelerate training of back-propagation neural networksTwo algorithms to accelerate training of back-propagation neural networks
Two algorithms to accelerate training of back-propagation neural networksESCOM
 
Pytorch for tf_developers
Pytorch for tf_developersPytorch for tf_developers
Pytorch for tf_developersAbdul Muneer
 
2018 Global Azure Bootcamp Azure Machine Learning for neural networks
2018 Global Azure Bootcamp Azure Machine Learning for neural networks2018 Global Azure Bootcamp Azure Machine Learning for neural networks
2018 Global Azure Bootcamp Azure Machine Learning for neural networksSetu Chokshi
 
Sample presentation slides template
Sample presentation slides templateSample presentation slides template
Sample presentation slides templateValerii Klymchuk
 
ARitificial Intelligence - Project - Data Classification
ARitificial Intelligence - Project - Data ClassificationARitificial Intelligence - Project - Data Classification
ARitificial Intelligence - Project - Data Classificationmayank0318
 

Similar to REvit training (20)

Introduction to computing Processing and performance.pdf
Introduction to computing Processing and performance.pdfIntroduction to computing Processing and performance.pdf
Introduction to computing Processing and performance.pdf
 
2 data 2011
2 data 20112 data 2011
2 data 2011
 
Department of MathematicsMTL107 Numerical Methods and Com.docx
Department of MathematicsMTL107 Numerical Methods and Com.docxDepartment of MathematicsMTL107 Numerical Methods and Com.docx
Department of MathematicsMTL107 Numerical Methods and Com.docx
 
Tensor flow description of ML Lab. document
Tensor flow description of ML Lab. documentTensor flow description of ML Lab. document
Tensor flow description of ML Lab. document
 
Fuzzy image processing- fuzzy C-mean clustering
Fuzzy image processing- fuzzy C-mean clusteringFuzzy image processing- fuzzy C-mean clustering
Fuzzy image processing- fuzzy C-mean clustering
 
Sheet1Washer ThicknessKevinYuxuanBolt DimensionsKevinYuxuanSample .docx
Sheet1Washer ThicknessKevinYuxuanBolt DimensionsKevinYuxuanSample .docxSheet1Washer ThicknessKevinYuxuanBolt DimensionsKevinYuxuanSample .docx
Sheet1Washer ThicknessKevinYuxuanBolt DimensionsKevinYuxuanSample .docx
 
CE344L-200365-Lab5.pdf
CE344L-200365-Lab5.pdfCE344L-200365-Lab5.pdf
CE344L-200365-Lab5.pdf
 
power system operation and control unit commitment .pdf
power system operation and control unit commitment .pdfpower system operation and control unit commitment .pdf
power system operation and control unit commitment .pdf
 
refreshENM1500.pdf
refreshENM1500.pdfrefreshENM1500.pdf
refreshENM1500.pdf
 
Top school in India
Top school in IndiaTop school in India
Top school in India
 
Lesson 26: Integration by Substitution (handout)
Lesson 26: Integration by Substitution (handout)Lesson 26: Integration by Substitution (handout)
Lesson 26: Integration by Substitution (handout)
 
Two algorithms to accelerate training of back-propagation neural networks
Two algorithms to accelerate training of back-propagation neural networksTwo algorithms to accelerate training of back-propagation neural networks
Two algorithms to accelerate training of back-propagation neural networks
 
Diving into Tensorflow.js
Diving into Tensorflow.jsDiving into Tensorflow.js
Diving into Tensorflow.js
 
037 lesson 25
037 lesson 25037 lesson 25
037 lesson 25
 
Pytorch for tf_developers
Pytorch for tf_developersPytorch for tf_developers
Pytorch for tf_developers
 
2018 Global Azure Bootcamp Azure Machine Learning for neural networks
2018 Global Azure Bootcamp Azure Machine Learning for neural networks2018 Global Azure Bootcamp Azure Machine Learning for neural networks
2018 Global Azure Bootcamp Azure Machine Learning for neural networks
 
Sample presentation slides template
Sample presentation slides templateSample presentation slides template
Sample presentation slides template
 
Gilat_ch03.pdf
Gilat_ch03.pdfGilat_ch03.pdf
Gilat_ch03.pdf
 
ARitificial Intelligence - Project - Data Classification
ARitificial Intelligence - Project - Data ClassificationARitificial Intelligence - Project - Data Classification
ARitificial Intelligence - Project - Data Classification
 
e.ppt
e.ppte.ppt
e.ppt
 

Recently uploaded

HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 

Recently uploaded (20)

HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 

REvit training

  • 1. Join the conversation #AU2017 Join the conversation #AU2017 Introduction to Machine Learning for Building Design and Construction Mehdi Nourbakhsh, Ph.D. Sr. Research Scientist, Autodesk Research mehdi.nourbakhsh [at] Autodesk.com
  • 2.  What is AI/ML?  History of ML  Application of ML in AEC  ML Glossary  ML Types  ML Process  ML Algorithms  Decision Tree  Artificial Neural Network  Wrap up Contents:
  • 4. History of AI/ML A lot more here
  • 7.  Data, sample  Variables, attributes, features  Feature vector  Input, output ML Glossary outlook temperature humidity windy construction Day 1 overcast hot high FALSE yes Day 2 rainy cool normal TRUE yes Day 3 sunny mild high FALSE no
  • 8. ML Glossary Feature Vector= (overcast, hot, high, FALSE)
  • 9. What is the goal?
  • 10. ML Glossary Model Outlook Temperature Humidity Windy Construction Input Output or label F(Outlook, Temperature, Humidity, Windy) = Ŷ
  • 11. A1 A2 A3 Y 1 0.2 Yes 0.32 5 0.56 No 0.58 2 0.56 Yes 0.23 3 0.6 Yes 0.39 Exercise 1 In the following example, what is/are: • Samples • Features • Input • output
  • 16. A1 A2 A3 Y 1 0.2 Yes 0.32 5 0.56 No 0.58 2 0.56 Yes 0.23 3 0.6 Yes 0.39 Exercise 1.5 Is this a supervised or unsupervised learning? Is this a classification or regression problem?
  • 17.  Donten in a company that has more than 10,000 building models in their database. These models are either residential, office space, or warehouses. They want to categorize their models into these three groups and seek your recommendation as a thought-leader in the industry. Which one do you recommend?  Hiring 20 people to manually open all of the models and categorize them in 10 months?  Using machine learning to automatically categorize the models in a month? (why does it take a month?) Exercise 2
  • 18.  Which type of ML is this?  How should we describe this problem to the machine?  Data?  Features?  Input, output? Exercise 2 Model ? ? … ? ? Input Output Residential Warehouse Office
  • 19. Simplified ML process In practice, this is not a straightforward process, there are lots of back and forth between the steps.
  • 20. ML Algorithms: Decision Tree Predict if construction will happen?
  • 21. Exercise 3: Decision Tree Take a guess…
  • 22. Exercise 3: Decision Tree Follow this algorithm: • Divide into subsets • Are they pure? (all ‘yes’ or ‘no’) • Yes->done • No-> repeat
  • 23. Exercise 3: Decision Tree 9 Yes / 4 No Follow this algorithm : • Divide into subsets • Are they pure? (all ‘yes’ or ‘no’) • Yes->done • No-> repeat
  • 24. Exercise 3: Decision Tree 9 Yes / 4 No Follow this algorithm : • Divide into subsets • Are they pure? (all ‘yes’ or ‘no’) • Yes->done • No-> repeat
  • 32. ML Algorithms: Artificial Neural Network Source: https://www.intechopen.com/source/html/39067/media/image1.png A) human neuron; B) artificial neuron; C) biological synapse; D) ANN synapses
  • 33.  A construction company completed three projects. The estimated and actual construction cost of each project is presented in the following table. Your task is to design a cost model for the company based on the available data and predict how much is the actual cost of ‘proj 4’. Exercise 4: Construction Cost Model Estimated Construction Cost Actual Construction Cost proj 1 350 420 proj 2 200 250 proj 3 500 700 Proj 4 400 ?
  • 34.  A construction company completed three projects. The estimated and actual construction cost of each project is presented in the following table. Your task is to design a cost model for the company based on the available data. Exercise 4: Construction Cost Model Input (X) Output (Y) * W Estimated Construction Cost Actual Construction Cost proj 1 350 420 proj 2 200 250 proj 3 500 700 Proj 4 400 ?
  • 35.  One way of doing it:  A= Sum all estimated costs  B = Sum all actual costs  W = B/A Exercise 4: Construction Cost Model Estimated Construction Cost Actual Construction Cost proj 1 350 420 proj 2 200 250 proj 3 500 700 Sum 1050 1370 B/A 1.30 Is it good? Why not 1.5 or 2.0? Y=1.30X
  • 36.  Measure of goodness = less error  What is the error of the model? Exercise 4: Construction Cost Model Estimated Construction Cost Actual Construction Cost Predicted Cost (y=1.3x) Error proj 1 350 420 455 ? proj 2 200 250 260 ? proj 3 500 700 650 ?
  • 37. Exercise 4: Construction Cost Model Absolute error = | predicted cost – actual cost | Estimated Construction Cost Actual Construction Cost Predicted Cost (y=1.3x) Error proj 1 350 420 455 -35 proj 2 200 250 260 -10 proj 3 500 700 650 50 We don’t like negative error Mean absolute error (MAE) = ∑| predicted cost – actual cost | / no of samples What is the mean absolute error of the model? 31.67 absolute
  • 38.  Let’s try other Ws: Exercise 4: Construction Cost Model Estimated Construction Cost Actual Construction Cost y=1.3x y=1.4x y=1.5x proj 1 350 420 455 588 682.5 proj 2 200 250 260 350 390 proj 3 500 700 650 980 975 31.67 182.67 47.5 MAE Input (X) Output (Y) * W=1.3 Our Neural Net model:
  • 39.  Let’s see if we can do better: Exercise 4: Construction Cost Model X Y * W + b Y = W*x + b input output weight bias
  • 40. Exercise 4: Construction Cost Model W/b -70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70 1 177 167 157 147 137 127 117 107 97 87 77 67 57 53 50 1.1 142 132 122 112 102 92 82 72 62 52 42 42 45 48 52 1.2 107 97 87 77 67 57 47 37 33 37 40 43 47 50 53 1.3 72 62 52 42 35 32 28 32 35 38 42 45 48 58 68 1.4 37 33 30 27 23 27 30 33 43 53 63 73 83 93 103 1.5 25 22 18 28 38 48 58 68 78 88 98 108 118 128 138 1.6 33 43 53 63 73 83 93 103 113 123 133 143 153 163 173 1.7 68 78 88 98 108 118 128 138 148 158 168 178 188 198 208 1.8 103 113 123 133 143 153 163 173 183 193 203 213 223 233 243 1.9 138 148 158 168 178 188 198 208 218 228 238 248 258 268 278 2 173 183 193 203 213 223 233 243 253 263 273 283 293 303 313 ? Y=2x-70 Y=x Y=x+70 Y=2x+70 Y=x-70 What is the mean absolute error of these models?
  • 41. Exercise 4: Construction Cost Model W/b -70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70 1 177 167 157 147 137 127 117 107 97 87 77 67 57 53 50 1.1 142 132 122 112 102 92 82 72 62 52 42 42 45 48 52 1.2 107 97 87 77 67 57 47 37 33 37 40 43 47 50 53 1.3 72 62 52 42 35 32 28 32 35 38 42 45 48 58 68 1.4 37 33 30 27 23 27 30 33 43 53 63 73 83 93 103 1.5 25 22 18 28 38 48 58 68 78 88 98 108 118 128 138 1.6 33 43 53 63 73 83 93 103 113 123 133 143 153 163 173 1.7 68 78 88 98 108 118 128 138 148 158 168 178 188 198 208 1.8 103 113 123 133 143 153 163 173 183 193 203 213 223 233 243 1.9 138 148 158 168 178 188 198 208 218 228 238 248 258 268 278 2 173 183 193 203 213 223 233 243 253 263 273 283 293 303 313 What model is better?
  • 42. W/b -70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70 1 177 167 157 147 137 127 117 107 97 87 77 67 57 53 50 1.1 142 132 122 112 102 92 82 72 62 52 42 42 45 48 52 1.2 107 97 87 77 67 57 47 37 33 37 40 43 47 50 53 1.3 72 62 52 42 35 32 28 32 35 38 42 45 48 58 68 1.4 37 33 30 27 23 27 30 33 43 53 63 73 83 93 103 1.5 25 22 18 28 38 48 58 68 78 88 98 108 118 128 138 1.6 33 43 53 63 73 83 93 103 113 123 133 143 153 163 173 1.7 68 78 88 98 108 118 128 138 148 158 168 178 188 198 208 1.8 103 113 123 133 143 153 163 173 183 193 203 213 223 233 243 1.9 138 148 158 168 178 188 198 208 218 228 238 248 258 268 278 2 173 183 193 203 213 223 233 243 253 263 273 283 293 303 313 Exercise 4: Construction Cost Model X Y * W + b Y = 1.5*x -50 input output weight bias Congratulation! You have trained your first neural network model!!!
  • 43. Exercise 4: Construction Cost Model Y = 1.5*x -50 Estimated Construction Cost Actual Construction Cost proj 1 350 420 proj 2 200 250 proj 3 500 700 Proj 4 400 ? Y = 1.5*400 -50 = 550 answer
  • 44. ML Algorithms: Artificial Neural Network X1 Y *W1 + b X2 *W2 Y = W1x1+ W2x2 + b Estimated Construction Cost Average temperature Actual Construction Cost proj 1 350 62 420 proj 2 200 55 250 proj 3 500 85 700 Proj 4 400 53 ?
  • 45. ML Algorithms: Artificial Neural Network X1 f *W1 + b X2 *W2 f = W1x1+ W2x2 + b T(f) Weighted sum of input Activation function Ŷ Predicted value
  • 46. Exercise 5: X1 f *W1 + b X2 *W2 f = W1x1+ W2x2 + b T(f) Ŷ ? What is the predicted value (Ŷ) if: X1=0.2 , X2= -0.3 W1=0.5, W2=0.5 b= 0.1
  • 47. Exercise 5: X1 f *W1 + b X2 *W2 f = W1x1+ W2x2 + b = 0.2*0.5-0.3*0.5+0.1=0.05 T(f)=T(0.05) = 1 T(f) Ŷ ? What is the predicted value if: X1=0.2 , X2= -0.3 W1=0.5, W2=0.5 b= 0.1
  • 49. ML Algorithms: Artificial Neural Network Now, let’s talk about a group of neurons working together. X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ X1 f *W 1 + b X2 *W 2 T(f) Ŷ Hmmm… looks very messy. Let’s come up with a shorter from of a neuron.
  • 50. ML Algorithms: Shorter form of a neuron X1 T(F=∑(XiWi+b)) *W1 b X2 *W2 X1 f *W1 + b X2 *W2 T(f) Ŷ
  • 51. ML Algorithms: Short form of a neuron n X1 T(F=∑(XiWi+b)) *W1 b X2 *W2 layer Neuron at this layer
  • 53. Can you identify input/output/hidden layer?
  • 54. Input layer Output layer Hidden layer
  • 55.
  • 56. What is the error?
  • 59.  What are the repetitive tasks that you do in your everyday job and ML can help you to automate? Exercise 5
  • 60.  What are the problems that you have no idea how to solve or things that you have no idea how to do, and ML can help you to do or resolve it? Exercise 5
  • 61.  Imaging you have a personal assistant agent that is like a trusted collaborator: it can brainstorm with you, it can do research for you, it can tell if your idea doesn’t work because of this and that, it can fill in the role of other parties (if you are an architect, it can provide you with the knowledge of engineering or construction). What are the things that you want your assistant to do for you. Exercise 5
  • 62. Wrap up  What is AI/ML?  History of ML  Application of ML  ML Glossary  ML Types  ML Process  ML Algorithms
  • 63. Wrap up  What is AI/ML?  History of ML  Application of ML  ML Glossary  ML Types  ML Process  ML Algorithms
  • 64. Wrap up  What is AI/ML?  History of ML  Application of ML  ML Glossary  ML Types  ML Process  ML Algorithms
  • 65. Wrap up  What is AI/ML?  History of ML  Application of ML  ML Glossary  ML Types  ML Process  ML Algorithms Model Outlook Temperature Humidity Windy Construction Input Output or label F(Outlook, Temperature, Humidity, Windy) = Ŷ
  • 66. Wrap up  What is AI/ML?  History of ML  Application of ML  ML Glossary  ML Types  ML Process  ML Algorithms
  • 67. Wrap up  What is AI/ML?  History of ML  Application of ML  ML Glossary  ML Types  ML Process  ML Algorithms
  • 68. Wrap up  What is AI/ML?  History of ML  Application of ML  ML Glossary  ML Types  ML Process  ML Algorithms  Decision Tree  Neural Network
  • 69. Wrap up  What is AI/ML?  History of ML  Application of ML  ML Glossary  ML Types  ML Process  ML Algorithms  Decision Tree  Neural Network
  • 70. Autodesk and the Autodesk logo are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graphical errors that may appear in this document. © 2017 Autodesk. All rights reserved.