User Tools

Site Tools


homework:2013-py01

Table of Contents

Homework 01

Goal

Implement polynomial curve fitting in python.

1. sample the function curve of y=sin(x) with Gaussian noise

2. fit degree 3 and 9 curves in 10 samples

3. fit degree 9 curves in 15 and 100 samples

4. fit degree 9 curve in 10 samples but with regularization term

Requirements

  1. Programming lanuage: python
  2. Plot the results in matplotlib
homework/2013-py01.txt · Last modified: 2015/03/10 15:41 by hongxin