Answers to Assignment 1
February 3, 2015
1
Probability and Statics
1. C
2. C
3. True
4. (1), 0, (2), 0 + x (each answer worth 0.5 points)
5. True
6. B
7. False
8. A
9. C
10. A
2
Linear Algebra
1. False
2. A
3. 2, 2 (each answer is worth 0.5 score.)
4. B,

Clustering
Le Song
Computational Data Analytics
CX 4240, Spring 2015
Clustering images
Image
Databases
Goal of clustering:
Divide object into groups,
and objects within a group
are more similar than
those outside the group
2
Cluster other things
3
Cluste

Clustering Nodes in Graphs
Le Song
Computational Data Analytics
CX 4240, Spring 2015
Clustering images
Image
Databases
Goal of clustering:
Divide object into groups,
and objects within a group
are more similar than
those outside the group
2
Formal stateme

Lecture Notes 1
Brief Review of Basic Probability
(Casella and Berger Chapters 1-4)
1
Probability Review
Chapters 1-4 are a review. I will assume you have read and understood Chapters
1-4. Let us recall some of the key ideas.
1.1
Random Variables
A random

MATLAB Primer Third Edition
Kermit Sigmon Department of Mathematics University of Florida
Department of Mathematics University of Florida Gainesville, FL 32611 sigmon@math.ufl.edu Copyright c 1989, 1992, 1993 by Kermit Sigmon
On the Third Edition The Thir

CX 4240 Homework 3
Le Song
Deadline: 4/8 Friday, 11:55PM
Submit your answers as an electronic copy on T-square.
No unapproved extension of deadline is allowed. Late submission will lead to 0 credit.
Typing with Latex is highly recommended. Typing with

Linear Algebra Review
Le Song
Introduction to Computational Data Analysis
(Machine Learning)
CX4240, Spring 2016
Outline
Motivating Example Eigenfaces
Basics
Dot and Vector Products
Identity, Diagonal and Orthogonal Matrices
Trace
Norms
Rank and linear in

Probability and Statistics Review
Le Song
Introduction to Computational Data Analysis
(Machine Learning)
CX4240, Spring 2016
Basic Probability Concepts
A sample space S is the set of all possible outcomes of a
conceptual or physical, repeatable experiment

CX4240 Homework 1
Le Song
Deadline: 2/26 Fri, 9:30am
Submit your answers as an electronic copy on T-square.
No unapproved extension of deadline is allowed. Late submission will lead to 0 credit.
Typing with Latex is highly recommended. Typing with MS W

ISyE 3833: Two Practice Questions on Generic LP Models
Exercise 1. A small mining company currently works two coal seams and produces three
grades of coal. It costs $1900 per hour to work the Moran seam, obtaining in that time 50
tons of anthracite (a typ

ISyE 3833: Two Practice Questions on Generic LP Models
with Hints and Answers
Exercise 1. A small mining company currently works two coal seams and produces three
grades of coal. It costs $1900 per hour to work the Moran seam, obtaining in that time 50
to

Dimensionality Reduction &
Principal Component Analysis
Le Song
Introduction to Computational Data Analysis
(Machine Learning)
CX4240, Spring 2015
Image databases
Image
Databases
What are the relations
between data points?
2
Handwritten digits
What are th

Visualization: Matlab Demos
Le Song
Introduction to Computational Data Analysis
(Machine Learning)
CX4240, Spring 2015
Outline
Logical operation
If-else statement
Loop statement
Line Plot
Histogram
Scatter Plot
Surface Plot
Contour Plot
File read/write
Im

CX 4240 Homework 1
Le Song
January 22, 2015
1
1.1
Probability and Statistics
Suppose that there are two events A and B, and furthermore one event is included in
another event: A B such that P (A) > 0 and P (B) > 0. How many of the following
statements are

CX 4240 Homework 2
Le Song
Deadline: 3/7 Sat, 11:00pm
Submit your answers as an electronic copy on T-square.
No unapproved extension of deadline is allowed. Zero credit will be assigned for late submissions.
Email request for late submission may not be

MATLAB commands in numerical Python (NumPy)
Vidar Bronken Gundersen /mathesaurus.sf.net
MATLAB commands in numerical Python (NumPy)
Copyright c Vidar Bronken Gundersen
Permission is granted to copy, distribute and/or modify this document as long as the ab

Introduction
Le Song
Introduction to Computational Data Analysis
(Machine Learning)
CX4240, Spring 2015
What is machine learning (ML)
Study of algorithms that improve their performance at some
task with experience
2
Common to industrial scale problems
13

%
clear; % clear all variables;
clc; % clean the command window;
% define a vector
a = [1, 3, 4, 5]'
a = [1; 3; 4; 5]
%
% define a matrix;
% semicolon used to supress the output;
A = [1, 2; 3, 4; 5, 6];
% ouput the second entry in a;
tmp = a(2)
% o

Linear Algebra Review
Le Song
Introduction to Computational Data Analysis
(Machine Learning)
CX4240, Spring 2015
Outline
Motivating Example Eigenfaces
Basics
Dot and Vector Products
Identity, Diagonal and Orthogonal Matrices
Trace
Norms
Rank and linear in

Linear Algebra with
Matlab
Le Song
Introduction to Computational Data Analysis
(Machine Learning)
CX4240, Spring 2015
Introduction to MATLAB
What is MATLAB?
MATLAB provides a language and environment for numerical
computation, data analysis, visualisation

Probability and Statistics Review
Le Song
Introduction to Computational Data Analysis
(Machine Learning)
CX4240, Spring 2015
Basic Probability Concepts
A sample space S is the set of all possible outcomes of a
conceptual or physical, repeatable experiment

%
% Rolling a dice
% Simulation of events: 3 dots show (probability of 1/6),
outcomes = []; %keep outcomes here
M=50000 %rolls
for i= 1:M
outcomes = [outcomes ceil( 6*rand )];
%ceil(6*rand) rounds up (ceiling) random
0umber uniform on (0,6), thus the outc

Probability and Statistics:
Matlab Demos
Le Song
Introduction to Computational Data Analysis
(Machine Learning)
CX4240, Spring 2015
Outline
Calculating Probabilities through Simulation
Calculating Joint and Conditional through Simulation
Generating random

ISyE 3833: Two Practice Questions on Generic LP Models
with Hints
Exercise 1. A small mining company currently works two coal seams and produces three
grades of coal. It costs $1900 per hour to work the Moran seam, obtaining in that time 50
tons of anthra