Jieeee / csmath

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

csmath

This repository is used to accomplish my homework in math class.There are six files in all, five for five homeworks and the rest one for the final project.

01. Curve fitting

Goal:

Implement polynomial curve fitting in python.

Requirement:

  • Programming lanuage: python
  • Plot the results in matplotlib

Experiment result:

  • red points stand for 10 training data points generated from function f = sin(x)
  • blue curve stands for the true function f = sin(x)
  • red curve stands for the predicted curve

image

02. PCA

Goal:

Represent digits '3' in 2D

  • convert data from the UCI Optical Recognition of Handwritten Digits Data Set
  • perform PCA over all digit '3' with 2 components
  • plot the PCA results as below (also in page #12 of PCA)

Requirements:

  • Programming lanuage: python
  • Plot the results in matplotlib

Experiment result:

image image

03. MOG and EM

Goal:

implement MOG in 2D case

  • Generate 2D Gaussian distribution
  • E-M method

Requirements

  • Programming lanuage: python
  • Plot the results in matplotlib

Experiment result:

image

04. LM algorithm

Goal:

  • Implement the Levenberg-Marquardt method

Requirements:

  • Programming lanuage: python

05. SVM

Goal:

Implement (simplified) SVM method

  • input 2D data and their label (in two classes)
  • implement quadratic programming
  • output (and plot) classification results

Requirements:

  • Programming lanuage: python
  • Plot the results in matplotlib

##06. Final project Paper reading and implement:

ICCV2015 Fast and Effective L0 Gradient Minimization by Region Fusion by RMH Nguyen

Main idea are detailed in the pdf file final_project_report.pdf

Experiment Result:

image image

About


Languages

Language:Python 100.0%