MATLAB
- Matlab is an interpreted programming language (though code can be
compiled)
- Matlab is a great language for rapid prototyping
- Matlab is a terrible language for medium- or large-scale development.
- The Matlab Command Window (>)
> 1 + 2
ans =
3
CS074/174 Machine Learning and
Statistical Data Analysis
Plan for today
http:/www.cs.dartmouth.edu/~lorenzo/teaching/cs174/
Course overview:
objectives, requirements, policies
Course introduction
What is machine learning?
- preview of topics and applica
Regression
CS074/174 Machine Learning and
Statistical Data Analysis
y: output (e.g. used car price)
Lecture 2
Training Examples:
D = cfw_(x(1),y(1), ., (x(m),y(m)
f(x)
(x(i),y(i): i-th training example
x(i) = [x1(i), ., xn(i)]T
xj(i): j-th feature of inpu
Mam
; 9
w
\ COHnM a; Cage
VI 3 o!
_ _ ;YV cfw_on , ml! IE '
3% 9 UL 0m cEl , , V
my; < LL19
JVK Cl \Jre
cfw_Lonf HAMOLL/s Tamhm Vrxoiel
1 WE &Cr;36
H .,[email protected]_a~\g_f_
M M_._._T_.A.-_w_mPuijolkmgahngdwwMW. g - m
cfw_shimriom @' with WM .P
WEQLLs X iollows.
Discriminative vs.
generative learning
CS074/174 Machine Learning and
Statistical Data Analysis
Lecture 8
algorithms model
Discriminative
p(y|x)
Generative learning:
Gaussian Discriminant Analysis
either
f (x)
or
C
(e.g., logistic regression)
(e.g., kNN,
CS074/174 Machine Learning and
Statistical Data Analysis
Classification
Goal:
learn a mapping from input space
finite set C of class labels
Lecture 6
y = f (x)
Classification:
logistic regression
Logistic regression
cfw_0, 1 (binary classification)
Let y
CS074/174 Machine Learning and
Statistical Data Analysis
Regression: a closed-form
learning algorithm
Lecture 3
For the specific case of linear least-square regression a
closed-form solution can be obtained by solving directly
E( )
=0
j
j = 0, ., n
Close
CS074/174 Machine Learning and
Statistical Data Analysis
Lecture 5
MAP regression;
locally-weighted linear regression;
model selection
Lorenzo Torresani
Announcements
HW1 will go out later today
We have changed the submission procedure to be
fully electro
CS074/174 Machine Learning and
Statistical Data Analysis
Logistic regression
Lecture 7
cfw_0, 1 (binary classification)
Let y
Probabilistic model:
Logistic regression (part 2);
a few words about Neural Networks
where
f (x) = g(
g(z) =
Lorenzo Torresani
1
Pink Floyd (UK) Grateful Dead (US)- Air and
Phoenix (France)
-Animal collective (US)
Psychedelic music covers a range of music styles, genres and
scenes may include rock, pop, free jazz, folk, soul, ambient,
trance, techno, electronic and western avant-ga
Ligeti Pome
symphonique
10/06/16
1
Stooges
10/06/16
Stooges
2
Stooges
10/06/16
3
10/06/16
4
NO WAVE (1978-1982) and Noise Rock
10/06/16
Punk (1969-1976) present (original bands: proto-punk Stooges; Pure punk Ramones;
mainstream punk in England: Sex Pistol
9.1.2
Note: please avoid this common error Please make sure that you are looking under the
Exercises part and NOT the Section Review Exercises part when you are completing
these problems.
PLACE YOUR WORK AND ANSWER HERE.
The graph of a tree never contains
MATH 51 MIDTERM (FEBRUARY 2, 2010)
Max Murphy Jonathan Campbell Jon Lee
Eric Malm
11am
11am
10am
11am
1:15pm
2:15pm
1:15pm
1:15pm
Xin Zhou
Ken Chan (ACE) Jose Perea Frederick Fong
11am
1:15pm
11am
11am
1:15pm
1:15pm
1:15pm
Your name (print):
Sign to indic
3.1.14
Note: please avoid this common error Please make sure that you are looking
under the Exercises part and NOT the Section Review Exercises part when you
are completing these problems.
PLACE YOUR WORK AND ANSWER HERE.
The function is one-to-one, becau
2.1.5
Note: please avoid this common error Please make sure that you are looking under the
Exercises part and NOT the Section Review Exercises part when you are completing these
problems.
PLACE YOUR WORK AND ANSWER HERE.
Theorem:
Suppose a and b are paral
6.1.3
Note: please avoid this common error Please make sure that you are looking under the
Exercises part and NOT the Section Review Exercises part when you are completing
these problems.
PLACE YOUR WORK AND ANSWER HERE.
There are 2 appetizers, 3 main cou
8.1.2
Note: please avoid this common error Please make sure that you are looking under the
Exercises part and NOT the Section Review Exercises part when you are completing
these problems.
PLACE YOUR WORK AND ANSWER HERE.
The graph is undirected not simple
UNIT 4 DISCUSSION 1
In mathematics and computer science, an algorithm is a self-contained step-by-step set of operations to be
performed. Algorithms perform calculation, data processing, and/or automated reasoning tasks. A minor
miracle occurred in 1965 w
Unit 7 Assignment 2
A Hamiltonian cycle, also called a Hamiltonian circuit, Hamilton cycle, or Hamilton circuit, is a graph cycle
(i.e., closed loop) through a graph that visits each node exactly once (Skiena 1990, p. 196). A graph
possessing a Hamiltonia
UNIT 7 DISCUSSION 2
Section 8.1, pages 385 386, exercise 3
SNOW
PHEASANTS
SKYSCAPERS
TUNA
The graph is directed, simple graph.
Section 8.1, pages 385 386, exercise 10
The path from a to a is:
a b c g e c f e d b e h f i h g d a
Section 8.2, pages 396397,
Unit 7 Discussion 1
Part 1
1. What is a distributed system?
A distributed system consists of a collection of autonomous computers, connected through a
network and distribution middleware, which enables computers to coordinate their activities
and to share
[u07d1] Unit 7 Discussion 1
Computer Networks, Distributed Systems, and Mobile Agents
Computer networks typically consist of nodes and edgesthey are graphs. The nodes can
typically be computers, routers, servers, and so on. The edges indicate a communicat
CS074/174 Machine Learning and
Statistical Data Analysis
Maximum Likelihood es0ma0on
of a Gaussian distribu0on
Goal:
given D = x(1) , ., x(m)
Lecture 4
drawn IID from a Gaussian
with unknown parameters
Maximum Likelihood Estimation;
ML & MAP regression