Added machine learning program (#15) · F3E9/Python-Programs@0c09f36 · GitHub
Skip to content

Commit 0c09f36

Browse files
SudhiMohanOmkarPathak
authored andcommitted
Added machine learning program (OmkarPathak#15)
* created folder machine learning * Added gradient descent program * Delete file1
1 parent 377cf55 commit 0c09f36

3 files changed

Lines changed: 241 additions & 0 deletions

File tree

Lines changed: 102 additions & 0 deletions

‎MachineLearning/readme.txt‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
The assignment consists of three problems based on basic machine learning and computer vision.
2+
Numerous problems in these areas are well studied in statistics and applied mathematics.
3+
Solutions are to be implemented in python by filling out required functions in each python file.
4+
A basic framework for data i/o and evaluation is already provided (see header comments in each python file).
5+
Please note that all required libraries are already imported so please DO NOT import anything new.
6+
7+
The four problems are briefly discussed below.
8+
9+
1. Gradient Descent: This is a popular optimization problem to find solutions to differentiable equations.
10+
Typically, learning problems involve minimizing a cost function by appropriately setting model parameters.
11+
In this task, we are given a set of (noisy) points on a line and we wish to retrieve model parameters (intercept and slope) through gradient descent.
12+
Please refer to 'gradient_descent.py' and inline comments for further details.
13+
14+
2. Eigenfaces: This is a popular application of learning a basis representation of input data.
15+
The application of this technique is the basis for simple recognition/compression algorithms.
16+
In this task, we want to learn orthonormal basis using PCA of images that correspond to faces.
17+
Please refer to 'eigenfaces.py' and inline comments for further details.
18+
19+
3. Classification: This is among the basic tasks of machine learning problems.
20+
Here, we will learn a classifier to using groundtruth labels on the training data to be able to distinguish between two object classes.
21+
You will use the scikit library to learn two classifiers (svm and random forest).
22+
Feel free to explore the parameters of both models to maximize classifier performance.
23+
Please refer to 'classification.py' and inline comments for further details.
24+
25+
4. Disparity map: This is among the basic tasks of 3D computer vision
26+
Here, given two differnce perspectives of the same scene, we will reconstruct an approximate of the depth map.
27+
This is called the disparity map (higher disparity is similar to lower depth).
28+
You will use the scikit library to implement the module. Feel free to explore the parameters 'downsample' and 'patchsize'
29+
Please refer to disparity.py and inline comments for further details.
30+

‎MachineLearning/version_list.txt‎

Lines changed: 109 additions & 0 deletions

0 commit comments

Comments
 (0)