HOME MISSION AND RESEARCH PUBLICATIONS HISTORY PEOPLE SEMINARS COURSES VIDEO ARCHIVE CONTACT

Difference between revisions of "VS265: Homework assignments"

From RedwoodCenter

(Lab #2, due Tuesday, September 23 at beginning of class)
(Assignments)
Line 39: Line 39:
 
   In [3]: d.keys()
 
   In [3]: d.keys()
 
   Out[3]: ['oranges2', 'apples2', 'apples', 'oranges']
 
   Out[3]: ['oranges2', 'apples2', 'apples', 'oranges']
 +
 +
 +
==== Lab #4, due Thursday, October 4 at 9:00 ====
 +
* [http://redwood.berkeley.edu/vs265/lab4.pdf lab4.pdf]
 +
Matlab code are as separate files below.
 +
* [http://redwood.berkeley.edu/vs265/lab4/hebb.m hebb.m]
 +
* [http://redwood.berkeley.edu/vs265/lab4/eigmovie.m eigmovie.m]
 +
Data
 +
* [http://redwood.berkeley.edu/vs265/lab4/data2d.mat data2d.mat]
 +
* [http://redwood.berkeley.edu/vs265/lab4/faces2.mat faces2.mat]
 +
 +
''For Python you can use ''
 +
* [http://redwood.berkeley.edu/vs265/lab4/data2d.npz data2d.npz] (see previous assignments above for how to read this in)
 +
* [http://redwood.berkeley.edu/vs265/lab4/faces2.npz faces2.npz]
 +
* [http://redwood.berkeley.edu/vs265/lab4/hebb.txt hebb.py]
 +
* [http://redwood.berkeley.edu/vs265/lab4/eigmovie.txt eigmovie.py]
 +
 +
<!-- * [http://redwood.berkeley.edu/vs265/sols/hw3-08.pdf Solutions.pdf] This is a solution from a previous version of this class that is really well written. -->

Revision as of 21:39, 25 September 2014

Students are encouraged to work in groups, but turn in assignments individually, listing the group members they worked with.

Submission instructions: email both a PDF of your solutions as well as your code (.m or .py files) as attachments to:

   vs265 AT rctn.org

You can hand in a paper copy of your solutions before class, but you still have to email your code to the address above before the assignment is due.

Resources

Matlab

Student version of Matlab ($50) may be obtained here.

There is an excellent guide to Matlab by Kevin Murphy on the web: http://code.google.com/p/yagtom/

Python

Fernando Perez at the Brain Imaging Center has an excellent set of resources on Python for scientific computing. You will likely find the "Starter Kit" particularly useful.

Also, a great starting point for all scientific python is using Anaconda [1]

Assignments

Lab #1, due Tuesday, September 16 at beginning of class


Lab #2, due Tuesday, September 23 at beginning of class

For Python you can use apples-oranges.npz

  In [1]: import numpy as np
  In [2]: d = np.load('apples-oranges.npz')
  In [3]: d.keys()
  Out[3]: ['oranges2', 'apples2', 'apples', 'oranges']


Lab #4, due Thursday, October 4 at 9:00

Matlab code are as separate files below.

Data

For Python you can use


Personal tools