SameerSurlace21b112
8 views
11 slides
Oct 15, 2024
Slide 1 of 11
1
2
3
4
5
6
7
8
9
10
11
About This Presentation
LEcture presentation
Size: 87.38 KB
Language: en
Added: Oct 15, 2024
Slides: 11 pages
Slide Content
1
Machine Learning in Civil
Engineering:
Learning in Feature Space
Dr. Benny Raphael
Professor
Civil Engineering Department
IIT Madras
Introduction
In most applications, relationships are not
linear. Learning non-linear relationships is
a challenge
2x
y
Exercise: beam deflection
The deflection at the midspan of a beam of span L,
under a point load P at the midspan depends on
the Young’s modulus E, Moment of Inertia I, load
P and span L. If experiments are conducted
under different combinations of values of
parameters, how can the relationship between
deflection and the other parameters be
determined through regression?
3
What about the case with point load and UDL?
Feature space
One method of handling nonlinearity is by learning
in the feature space. The feature space contains
the set of all possible values for the “features”
extracted from raw data. If the original data
consists of vectors X = (x
1, x
2, … x
n), we extract
features from the data as vectors of the form
(φ
1(X), φ
2(X), …, φ
m(X) ). The relationship
between the output variable y and the features
could be learnt by linear regression
4
Selection of good features is the most important phase of any
machine learning!
Feature vector in a quadratic
relationship
•x
1
2
•x
2
2
•x
1x
2
•x
1
•x
2
5
Questions
•How many elements are in the feature vector when there
are N input variables in a quadratic relationship?
•How many elements are in the feature vector when there
are N input variables in a polynomial relationship of
degree m?
•How many elements in the feature vector of degree m?
•How many data points are needed for effective learning
in the above situations?
6
Exercise
•How many ways of distributing 10
chocolates to 4 children?
7
Regression with binary
variables
•Boolean relationships such as AND, OR
and XOR can also be learnt using
regression
8
X1 X2 Y
0 0 0
0 1 1
1 0 1
1 1 0
Exercise
What feature vector will you use for text
classification? (What features will you extract
from a text string in order to learn a relationship
between the text and some output variable).
Give examples of feature vectors extracted from
the data below. Add your own data to this set.
Explain how documents are classified using the
extracted feature vectors.
9
Data:
Text Score
Construction management 1
Management 0.5
Construction Industry 0.5
Construct buildings 0.3
Principal Components
•If you want to learn in a low dimensional
feature space, you can select a few
principal components as features
•Principal components are eigen vectors of
the covariance matrix
10
Further reading
•John Shawe-Taylor & Nello Cristianini,
2000. Support Vector Machines and other
kernel-based learning methods,
Cambridge University Press.
11