<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rctn.org/w/index.php?action=history&amp;feed=atom&amp;title=VS265%3A_Homework_assignments_Fall2010</id>
	<title>VS265: Homework assignments Fall2010 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rctn.org/w/index.php?action=history&amp;feed=atom&amp;title=VS265%3A_Homework_assignments_Fall2010"/>
	<link rel="alternate" type="text/html" href="https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;action=history"/>
	<updated>2026-06-14T14:14:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=6328&amp;oldid=prev</id>
		<title>Mudigonda at 23:49, 28 August 2012</title>
		<link rel="alternate" type="text/html" href="https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=6328&amp;oldid=prev"/>
		<updated>2012-08-28T23:49:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:41, 28 August 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l47&quot;&gt;Line 47:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    Out[3]: [&amp;#039;oranges2&amp;#039;, &amp;#039;apples2&amp;#039;, &amp;#039;apples&amp;#039;, &amp;#039;oranges&amp;#039;]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    Out[3]: [&amp;#039;oranges2&amp;#039;, &amp;#039;apples2&amp;#039;, &amp;#039;apples&amp;#039;, &amp;#039;oranges&amp;#039;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solutions: [http://redwood.berkeley.edu/vs265/sols/soln2-08.pdf pdf] (ignore self grading instructions) [http://redwood.berkeley.edu/vs265/sols/soln2.zip zip&amp;#039;d Matlab code]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solutions: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;!-- &lt;/ins&gt;[http://redwood.berkeley.edu/vs265/sols/soln2-08.pdf pdf] (ignore self grading instructions) [http://redwood.berkeley.edu/vs265/sols/soln2.zip zip&amp;#039;d Matlab code] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #3, due Tuesday, September 28 at beginning of class ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #3, due Tuesday, September 28 at beginning of class ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l63&quot;&gt;Line 63:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab3/eigmovie.txt eigmovie.py]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab3/eigmovie.txt eigmovie.py]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solutions: [http://redwood.berkeley.edu/vs265/sols/hw3-08.pdf pdf] [http://redwood.berkeley.edu/vs265/sols/hw3-08.zip zip&amp;#039;d Matlab code]. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;!-- &lt;/del&gt;For self-grading, each question is worth 3 points. --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solutions: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;!-- &lt;/ins&gt;[http://redwood.berkeley.edu/vs265/sols/hw3-08.pdf pdf] [http://redwood.berkeley.edu/vs265/sols/hw3-08.zip zip&amp;#039;d Matlab code]. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;For self-grading, each question is worth 3 points. --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #4, due Tuesday, Oct 5 at beginning of class ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #4, due Tuesday, Oct 5 at beginning of class ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l70&quot;&gt;Line 70:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 70:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/sparsenet_class_scripts.zip sparsenet scripts (zip)]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/sparsenet_class_scripts.zip sparsenet scripts (zip)]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* You will also need the following set of whitened natural movie images: [https://redwood.berkeley.edu/bruno/sparsenet/IMAGES.mat IMAGES.mat]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* You will also need the following set of whitened natural movie images: [https://redwood.berkeley.edu/bruno/sparsenet/IMAGES.mat IMAGES.mat]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solutions: [http://redwood.berkeley.edu/vs265/sols/sol4-08.pdf pdf]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solutions: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;!-- &lt;/ins&gt;[http://redwood.berkeley.edu/vs265/sols/sol4-08.pdf pdf] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #5 due Tuesday, Oct 12 at beginning of class ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #5 due Tuesday, Oct 12 at beginning of class ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l80&quot;&gt;Line 80:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 80:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab5/kohonen.txt kohonen.py]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab5/kohonen.txt kohonen.py]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab5/showrfs.txt showrfs.py]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab5/showrfs.txt showrfs.py]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solutions: [http://redwood.berkeley.edu/vs265/sols/soln5-08.pdf pdf] [http://redwood.berkeley.edu/vs265/sols/lab5.zip zip&amp;#039;d Matlab code]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solutions: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;!-- &lt;/ins&gt;[http://redwood.berkeley.edu/vs265/sols/soln5-08.pdf pdf] [http://redwood.berkeley.edu/vs265/sols/lab5.zip zip&amp;#039;d Matlab code] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #6 (Due Tuesday, Oct 26 at beginning of class) ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #6 (Due Tuesday, Oct 26 at beginning of class) ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l100&quot;&gt;Line 100:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 100:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     face,hi,X = [p[k].reshape(10,10).T.reshape(100,1) for k in &amp;#039;face&amp;#039;,&amp;#039;hi&amp;#039;,&amp;#039;X&amp;#039;]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     face,hi,X = [p[k].reshape(10,10).T.reshape(100,1) for k in &amp;#039;face&amp;#039;,&amp;#039;hi&amp;#039;,&amp;#039;X&amp;#039;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     # line above converts Fortran to C ordering&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     # line above converts Fortran to C ordering&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solutions: [http://redwood.berkeley.edu/vs265/sols/sol6-08.pdf pdf]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solutions: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;!-- &lt;/ins&gt;[http://redwood.berkeley.edu/vs265/sols/sol6-08.pdf pdf] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #7 (Due Tuesday, Nov. 2) ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #7 (Due Tuesday, Nov. 2) ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mudigonda</name></author>
	</entry>
	<entry>
		<id>https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=6327&amp;oldid=prev</id>
		<title>Mudigonda at 23:42, 28 August 2012</title>
		<link rel="alternate" type="text/html" href="https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=6327&amp;oldid=prev"/>
		<updated>2012-08-28T23:42:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:34, 28 August 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    In [3]: X,O = d[&amp;#039;X&amp;#039;],d[&amp;#039;O&amp;#039;]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    In [3]: X,O = d[&amp;#039;X&amp;#039;],d[&amp;#039;O&amp;#039;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solutions: [http://redwood.berkeley.edu/vs265/soln1-2010.pdf pdf] [http://redwood.berkeley.edu/vs265/lab1.txt lab1.py] [http://redwood.berkeley.edu/vs265/lab1-08.m lab1.m (from &amp;#039;08)]  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solutions: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;!-- &lt;/ins&gt;[http://redwood.berkeley.edu/vs265/soln1-2010.pdf pdf] [http://redwood.berkeley.edu/vs265/lab1.txt lab1.py] [http://redwood.berkeley.edu/vs265/lab1-08.m lab1.m (from &amp;#039;08)] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #2, due Tuesday, Sep 21 at beginning of class ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #2, due Tuesday, Sep 21 at beginning of class ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mudigonda</name></author>
	</entry>
	<entry>
		<id>https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=6307&amp;oldid=prev</id>
		<title>Mudigonda: moved VS265: Homework assignments to VS265: Homework assignments Fall2010</title>
		<link rel="alternate" type="text/html" href="https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=6307&amp;oldid=prev"/>
		<updated>2012-08-28T02:53:15Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/wiki/VS265:_Homework_assignments&quot; title=&quot;VS265: Homework assignments&quot;&gt;VS265: Homework assignments&lt;/a&gt; to &lt;a href=&quot;/wiki/VS265:_Homework_assignments_Fall2010&quot; title=&quot;VS265: Homework assignments Fall2010&quot;&gt;VS265: Homework assignments Fall2010&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:45, 28 August 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mudigonda</name></author>
	</entry>
	<entry>
		<id>https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5579&amp;oldid=prev</id>
		<title>Bruno: /* Lab #9 (Due Tuesday, Nov. 23) */</title>
		<link rel="alternate" type="text/html" href="https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5579&amp;oldid=prev"/>
		<updated>2010-11-16T23:01:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Lab #9 (Due Tuesday, Nov. 23)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:53, 16 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l128&quot;&gt;Line 128:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 128:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #9 (Due Tuesday, Nov. 23) ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #9 (Due Tuesday, Nov. 23) ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab9.pdf &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lab8&lt;/del&gt;.pdf]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab9.pdf &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lab9&lt;/ins&gt;.pdf]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/ica/ica.m ica.m]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/ica/ica.m ica.m]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/ica/test_data.mat test_data.mat]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/ica/test_data.mat test_data.mat]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bruno</name></author>
	</entry>
	<entry>
		<id>https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5578&amp;oldid=prev</id>
		<title>Bruno: /* Assignments */</title>
		<link rel="alternate" type="text/html" href="https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5578&amp;oldid=prev"/>
		<updated>2010-11-16T23:00:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Assignments&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Students are encouraged to work in groups, but turn in assignments &amp;#039;&amp;#039;individually&amp;#039;&amp;#039;, listing the group members they worked with.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Submission instructions&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
email both a PDF of your solutions as well as your code (.m or .py files) as attachments to:&lt;br /&gt;
    rctn.org vs265 (vs265 should be out front)&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
= Resources =&lt;br /&gt;
== Matlab == &lt;br /&gt;
Amir, the past GSI for the course says &amp;quot;There is a guide to Matlab on the web by Kevin Murphy which is really excellent. I think it would be great for the VS265 students: [http://code.google.com/p/yagtom/ http://code.google.com/p/yagtom/]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
Fernando Perez at the Brain Imaging Center has an &amp;#039;&amp;#039;excellent&amp;#039;&amp;#039; set of resources on [http://fperez.org/py4science/index.html Python for scientific computing]. You will likely find the [http://fperez.org/py4science/starter_kit.html &amp;quot;Starter Kit&amp;quot;] particularly useful. &lt;br /&gt;
&lt;br /&gt;
Additionally, Josh Bloom (Astronomy) is teaching a [https://bspace.berkeley.edu/portal/tool/!gateway-410?panel=Main Science Research Computing with Python] course this semester (on Mondays 2-5pm in Hearst 310, Fall 2010, CCN 06180) which you might want to take. A [https://sites.google.com/site/pythonbootcamp/lectures Python Boot Camp] kicked-off that class, and has a lot of accessible introductory material.&lt;br /&gt;
&lt;br /&gt;
= Assignments =&lt;br /&gt;
==== Lab #1, due Thursday, September 9th at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab1.pdf lab1.pdf]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/data.mat data.mat]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;for Python: either ...&amp;#039;&amp;#039;&lt;br /&gt;
   In [1]: import scipy.io&lt;br /&gt;
   In [2]: d = scipy.io.loadmat(&amp;quot;data.mat&amp;quot;)&lt;br /&gt;
   In [3]: X,O = d[&amp;#039;X&amp;#039;],d[&amp;#039;O&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;or use [http://redwood.berkeley.edu/vs265/data.npz data.npz]&amp;#039;&amp;#039;&lt;br /&gt;
   In [1]: import numpy as np&lt;br /&gt;
   In [2]: d = np.load(&amp;#039;data.npz&amp;#039;)&lt;br /&gt;
   In [3]: X,O = d[&amp;#039;X&amp;#039;],d[&amp;#039;O&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
* Solutions: [http://redwood.berkeley.edu/vs265/soln1-2010.pdf pdf] [http://redwood.berkeley.edu/vs265/lab1.txt lab1.py] [http://redwood.berkeley.edu/vs265/lab1-08.m lab1.m (from &amp;#039;08)] &lt;br /&gt;
&lt;br /&gt;
==== Lab #2, due Tuesday, Sep 21 at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab2-10.pdf lab2.pdf]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/apples.mat apples.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/oranges.mat oranges.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab2s.m lab2s.m] or [http://redwood.berkeley.edu/vs265/lab2s.txt lab2s.py]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/apples2.mat apples2.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/oranges2.mat oranges2.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab2m.m lab2m.m]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For Python you can use [http://redwood.berkeley.edu/vs265/apples-oranges.npz apples-oranges.npz]&amp;#039;&amp;#039;&lt;br /&gt;
   In [1]: import numpy as np&lt;br /&gt;
   In [2]: d = np.load(&amp;#039;apples-oranges.npz&amp;#039;)&lt;br /&gt;
   In [3]: d.keys()&lt;br /&gt;
   Out[3]: [&amp;#039;oranges2&amp;#039;, &amp;#039;apples2&amp;#039;, &amp;#039;apples&amp;#039;, &amp;#039;oranges&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
* Solutions: [http://redwood.berkeley.edu/vs265/sols/soln2-08.pdf pdf] (ignore self grading instructions) [http://redwood.berkeley.edu/vs265/sols/soln2.zip zip&amp;#039;d Matlab code]&lt;br /&gt;
&lt;br /&gt;
==== Lab #3, due Tuesday, September 28 at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/lab3.pdf lab3.pdf]&lt;br /&gt;
Matlab code are as separate files below.&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/data2d.mat data2d.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/faces2.mat faces2.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/hebb.m hebb.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/eigmovie.m eigmovie.m]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For Python you can use &amp;#039;&amp;#039;&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/data2d.npz data2d.npz] (see previous assignments above for how to read this in)&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/faces2.npz faces2.npz]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/hebb.txt hebb.py]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/eigmovie.txt eigmovie.py]&lt;br /&gt;
&lt;br /&gt;
* Solutions: [http://redwood.berkeley.edu/vs265/sols/hw3-08.pdf pdf] [http://redwood.berkeley.edu/vs265/sols/hw3-08.zip zip&amp;#039;d Matlab code]. &amp;lt;!-- For self-grading, each question is worth 3 points. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lab #4, due Tuesday, Oct 5 at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab4.pdf lab4]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/foldiak_class_scripts.zip foldiak scripts (zip)]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/sparsenet_class_scripts.zip sparsenet scripts (zip)]&lt;br /&gt;
* You will also need the following set of whitened natural movie images: [https://redwood.berkeley.edu/bruno/sparsenet/IMAGES.mat IMAGES.mat]&lt;br /&gt;
* Solutions: [http://redwood.berkeley.edu/vs265/sols/sol4-08.pdf pdf]&lt;br /&gt;
&lt;br /&gt;
==== Lab #5 due Tuesday, Oct 12 at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5.pdf lab5]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5/kohonen.m kohonen.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5/showrfs.m showrfs.m]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Python code:&amp;#039;&amp;#039;&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5/kohonen.txt kohonen.py]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5/showrfs.txt showrfs.py]&lt;br /&gt;
* Solutions: [http://redwood.berkeley.edu/vs265/sols/soln5-08.pdf pdf] [http://redwood.berkeley.edu/vs265/sols/lab5.zip zip&amp;#039;d Matlab code]&lt;br /&gt;
&lt;br /&gt;
==== Lab #6 (Due Tuesday, Oct 26 at beginning of class) ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6.pdf lab6.pdf]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6.zip zip&amp;#039;d Matlab files]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/genpat.m genpat.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/hopnet.m hopnet.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/patterns.mat patterns.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/corrupt.m corrupt.m]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Python code:&amp;#039;&amp;#039;&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/hopnet.txt hopnet.py] - python version of the above code as one file (with run, genpat, and corrupt methods)&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/patterns.npz patterns.npz]&lt;br /&gt;
    p = np.load(&amp;#039;patterns.npz&amp;#039;)&lt;br /&gt;
    face,hi,X = p[&amp;#039;face&amp;#039;], p[&amp;#039;hi&amp;#039;], p[&amp;#039;X&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
    # if you load patterns.mat, use:&lt;br /&gt;
    p = scipy.io.loadmat(&amp;quot;patterns.mat&amp;quot;)&lt;br /&gt;
    face,hi,X = [p[k].reshape(10,10).T.reshape(100,1) for k in &amp;#039;face&amp;#039;,&amp;#039;hi&amp;#039;,&amp;#039;X&amp;#039;]&lt;br /&gt;
    # line above converts Fortran to C ordering&lt;br /&gt;
* Solutions: [http://redwood.berkeley.edu/vs265/sols/sol6-08.pdf pdf]&lt;br /&gt;
&lt;br /&gt;
==== Lab #7 (Due Tuesday, Nov. 2) ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab7.pdf lab7.pdf]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/mog/mog.m mog.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/mog/show_mog.m show_mog.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/mog/X1.mat X1.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/mog/X1_v6.mat X1_v6.mat] (version 6)&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/mog/X2.mat X2.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/mog/X2_v6.mat X2_v6.mat] (version 6)&lt;br /&gt;
&lt;br /&gt;
==== Lab #8 (Due Thursday, Nov. 11) ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab8.pdf lab8.pdf]&lt;br /&gt;
* [http://redwood.berkeley.edu/amir/vs298/boltz/scribble.mat scribble.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/amir/vs298/boltz/scribble_v6.mat scribble_v6.mat] (version 6)&lt;br /&gt;
* [http://redwood.berkeley.edu/amir/vs298/boltz/extract_patches.m extract_patches.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/amir/vs298/boltz/prob.m prob.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/amir/vs298/boltz/show_patches.m show_patches.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/amir/vs298/boltz/boltz.m boltz.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/amir/vs298/boltz/sample.m sample.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/amir/vs298/boltz/draw.m draw.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/amir/vs298/boltz/sigmoid.m sigmoid.m]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Python code:&amp;#039;&amp;#039;&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab8/boltz.txt boltz.py] - python version of the above code.&lt;br /&gt;
&lt;br /&gt;
==== Lab #9 (Due Tuesday, Nov. 23) ====&lt;br /&gt;
&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab9.pdf lab8.pdf]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/ica/ica.m ica.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/ica/test_data.mat test_data.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/ica/ica2.m ica2.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/ica/extract_patches.m extract_patches.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/ica/showbfs.m showbfs.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/ica/IMAGES.mat IMAGES.mat]&lt;br /&gt;
&amp;lt;!-- * Solutions: Thanks to Chung-Hay from our 2006 class [http://redwood.berkeley.edu/amir/vs298/soln8.pdf pdf]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bruno</name></author>
	</entry>
	<entry>
		<id>https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5542&amp;oldid=prev</id>
		<title>Bruno at 21:04, 4 November 2010</title>
		<link rel="alternate" type="text/html" href="https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5542&amp;oldid=prev"/>
		<updated>2010-11-04T21:04:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:56, 4 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l110&quot;&gt;Line 110:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 110:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/mog/X2.mat X2.mat]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/mog/X2.mat X2.mat]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/mog/X2_v6.mat X2_v6.mat] (version 6)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/mog/X2_v6.mat X2_v6.mat] (version 6)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==== Lab #8 (Due Thursday, Nov. 11) ====&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [http://redwood.berkeley.edu/vs265/lab8.pdf lab8.pdf]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [http://redwood.berkeley.edu/amir/vs298/boltz/scribble.mat scribble.mat]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [http://redwood.berkeley.edu/amir/vs298/boltz/scribble_v6.mat scribble_v6.mat] (version 6)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [http://redwood.berkeley.edu/amir/vs298/boltz/extract_patches.m extract_patches.m]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [http://redwood.berkeley.edu/amir/vs298/boltz/prob.m prob.m]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [http://redwood.berkeley.edu/amir/vs298/boltz/show_patches.m show_patches.m]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [http://redwood.berkeley.edu/amir/vs298/boltz/boltz.m boltz.m]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [http://redwood.berkeley.edu/amir/vs298/boltz/sample.m sample.m]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [http://redwood.berkeley.edu/amir/vs298/boltz/draw.m draw.m]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [http://redwood.berkeley.edu/amir/vs298/boltz/sigmoid.m sigmoid.m]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bruno</name></author>
	</entry>
	<entry>
		<id>https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5525&amp;oldid=prev</id>
		<title>Bruno at 22:05, 26 October 2010</title>
		<link rel="alternate" type="text/html" href="https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5525&amp;oldid=prev"/>
		<updated>2010-10-26T22:05:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Students are encouraged to work in groups, but turn in assignments &amp;#039;&amp;#039;individually&amp;#039;&amp;#039;, listing the group members they worked with.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Submission instructions&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
email both a PDF of your solutions as well as your code (.m or .py files) as attachments to:&lt;br /&gt;
    rctn.org vs265 (vs265 should be out front)&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
= Resources =&lt;br /&gt;
== Matlab == &lt;br /&gt;
Amir, the past GSI for the course says &amp;quot;There is a guide to Matlab on the web by Kevin Murphy which is really excellent. I think it would be great for the VS265 students: [http://code.google.com/p/yagtom/ http://code.google.com/p/yagtom/]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
Fernando Perez at the Brain Imaging Center has an &amp;#039;&amp;#039;excellent&amp;#039;&amp;#039; set of resources on [http://fperez.org/py4science/index.html Python for scientific computing]. You will likely find the [http://fperez.org/py4science/starter_kit.html &amp;quot;Starter Kit&amp;quot;] particularly useful. &lt;br /&gt;
&lt;br /&gt;
Additionally, Josh Bloom (Astronomy) is teaching a [https://bspace.berkeley.edu/portal/tool/!gateway-410?panel=Main Science Research Computing with Python] course this semester (on Mondays 2-5pm in Hearst 310, Fall 2010, CCN 06180) which you might want to take. A [https://sites.google.com/site/pythonbootcamp/lectures Python Boot Camp] kicked-off that class, and has a lot of accessible introductory material.&lt;br /&gt;
&lt;br /&gt;
= Assignments =&lt;br /&gt;
==== Lab #1, due Thursday, September 9th at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab1.pdf lab1.pdf]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/data.mat data.mat]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;for Python: either ...&amp;#039;&amp;#039;&lt;br /&gt;
   In [1]: import scipy.io&lt;br /&gt;
   In [2]: d = scipy.io.loadmat(&amp;quot;data.mat&amp;quot;)&lt;br /&gt;
   In [3]: X,O = d[&amp;#039;X&amp;#039;],d[&amp;#039;O&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;or use [http://redwood.berkeley.edu/vs265/data.npz data.npz]&amp;#039;&amp;#039;&lt;br /&gt;
   In [1]: import numpy as np&lt;br /&gt;
   In [2]: d = np.load(&amp;#039;data.npz&amp;#039;)&lt;br /&gt;
   In [3]: X,O = d[&amp;#039;X&amp;#039;],d[&amp;#039;O&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
* Solutions: [http://redwood.berkeley.edu/vs265/soln1-2010.pdf pdf] [http://redwood.berkeley.edu/vs265/lab1.txt lab1.py] [http://redwood.berkeley.edu/vs265/lab1-08.m lab1.m (from &amp;#039;08)] &lt;br /&gt;
&lt;br /&gt;
==== Lab #2, due Tuesday, Sep 21 at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab2-10.pdf lab2.pdf]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/apples.mat apples.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/oranges.mat oranges.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab2s.m lab2s.m] or [http://redwood.berkeley.edu/vs265/lab2s.txt lab2s.py]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/apples2.mat apples2.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/oranges2.mat oranges2.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab2m.m lab2m.m]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For Python you can use [http://redwood.berkeley.edu/vs265/apples-oranges.npz apples-oranges.npz]&amp;#039;&amp;#039;&lt;br /&gt;
   In [1]: import numpy as np&lt;br /&gt;
   In [2]: d = np.load(&amp;#039;apples-oranges.npz&amp;#039;)&lt;br /&gt;
   In [3]: d.keys()&lt;br /&gt;
   Out[3]: [&amp;#039;oranges2&amp;#039;, &amp;#039;apples2&amp;#039;, &amp;#039;apples&amp;#039;, &amp;#039;oranges&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--* Solutions: [http://redwood.berkeley.edu/amir/vs298/soln2-08.pdf pdf] [http://redwood.berkeley.edu/amir/vs298/soln2.zip zip&amp;#039;d Matlab code]--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lab #3, due Tuesday, September 28 at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/lab3.pdf lab3.pdf]&lt;br /&gt;
Matlab code are as separate files below.&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/data2d.mat data2d.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/faces2.mat faces2.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/hebb.m hebb.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/eigmovie.m eigmovie.m]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For Python you can use &amp;#039;&amp;#039;&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/data2d.npz data2d.npz] (see previous assignments above for how to read this in)&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/faces2.npz faces2.npz]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/hebb.txt hebb.py]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/eigmovie.txt eigmovie.py]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--* Solutions: [http://redwood.berkeley.edu/amir/vs298/hw3-08.pdf pdf] [http://redwood.berkeley.edu/amir/vs298/hw3-08.zip zip&amp;#039;d Matlab code]. For self-grading, each question is worth 3 points.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lab #4, due Tuesday, Oct 5 at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab4.pdf lab4]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/foldiak_class_scripts.zip foldiak scripts (zip)]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/sparsenet_class_scripts.zip sparsenet scripts (zip)]&lt;br /&gt;
* You will also need the following set of whitened natural movie images: [https://redwood.berkeley.edu/bruno/sparsenet/IMAGES.mat IMAGES.mat]&lt;br /&gt;
&amp;lt;!--* Solutions: [http://redwood.berkeley.edu/amir/vs298/sol4-08.pdf pdf] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lab #5 due Tuesday, Oct 12 at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5.pdf lab5]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5/kohonen.m kohonen.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5/showrfs.m showrfs.m]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Python code:&amp;#039;&amp;#039;&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5/kohonen.txt kohonen.py]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5/showrfs.txt showrfs.py]&lt;br /&gt;
&amp;lt;!--* Solutions: [http://redwood.berkeley.edu/amir/vs298/lab5/soln5-08.pdf pdf] [http://redwood.berkeley.edu/amir/vs298/lab5/lab5.zip zip&amp;#039;d Matlab code]--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lab #6 (Due Tuesday, Oct 26 at beginning of class) ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6.pdf lab6.pdf]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6.zip zip&amp;#039;d Matlab files]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/genpat.m genpat.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/hopnet.m hopnet.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/patterns.mat patterns.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/corrupt.m corrupt.m]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Python code:&amp;#039;&amp;#039;&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/hopnet.txt hopnet.py] - python version of the above code as one file (with run, genpat, and corrupt methods)&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/patterns.npz patterns.npz]&lt;br /&gt;
    p = np.load(&amp;#039;patterns.npz&amp;#039;)&lt;br /&gt;
    face,hi,X = p[&amp;#039;face&amp;#039;], p[&amp;#039;hi&amp;#039;], p[&amp;#039;X&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
    # if you load patterns.mat, use:&lt;br /&gt;
    p = scipy.io.loadmat(&amp;quot;patterns.mat&amp;quot;)&lt;br /&gt;
    face,hi,X = [p[k].reshape(10,10).T.reshape(100,1) for k in &amp;#039;face&amp;#039;,&amp;#039;hi&amp;#039;,&amp;#039;X&amp;#039;]&lt;br /&gt;
    # line above converts Fortran to C ordering&lt;br /&gt;
&amp;lt;!--* Solutions: [http://redwood.berkeley.edu/amir/vs298/sol6-08.pdf pdf]--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lab #7 (Due Tuesday, Nov. 2) ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab7.pdf lab7.pdf]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/mog/mog.m mog.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/mog/show_mog.m show_mog.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/mog/X1.mat X1.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/mog/X1_v6.mat X1_v6.mat] (version 6)&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/mog/X2.mat X2.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/mog/X2_v6.mat X2_v6.mat] (version 6)&lt;/div&gt;</summary>
		<author><name>Bruno</name></author>
	</entry>
	<entry>
		<id>https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5480&amp;oldid=prev</id>
		<title>Bruno: /* Lab #6 (Due Tuesday, Oct 26 at beginning of class) */</title>
		<link rel="alternate" type="text/html" href="https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5480&amp;oldid=prev"/>
		<updated>2010-10-14T07:13:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Lab #6 (Due Tuesday, Oct 26 at beginning of class)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:05, 14 October 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l83&quot;&gt;Line 83:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 83:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #6 (Due Tuesday, Oct 26 at beginning of class) ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #6 (Due Tuesday, Oct 26 at beginning of class) ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab6.pdf]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lab6.pdf &lt;/ins&gt;lab6.pdf]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab6.zip zip&amp;#039;d Matlab files]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab6.zip zip&amp;#039;d Matlab files]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab6/genpat.m genpat.m]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab6/genpat.m genpat.m]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bruno</name></author>
	</entry>
	<entry>
		<id>https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5479&amp;oldid=prev</id>
		<title>Bruno: /* Lab #6 (Due Tuesday, Oct 26 at beginning of class) */</title>
		<link rel="alternate" type="text/html" href="https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5479&amp;oldid=prev"/>
		<updated>2010-10-14T07:13:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Lab #6 (Due Tuesday, Oct 26 at beginning of class)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:05, 14 October 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l83&quot;&gt;Line 83:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 83:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #6 (Due Tuesday, Oct 26 at beginning of class) ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Lab #6 (Due Tuesday, Oct 26 at beginning of class) ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [http://redwood.berkeley.edu/vs265/lab6.pdf]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab6.zip zip&amp;#039;d Matlab files]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab6.zip zip&amp;#039;d Matlab files]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab6/genpat.m genpat.m]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://redwood.berkeley.edu/vs265/lab6/genpat.m genpat.m]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bruno</name></author>
	</entry>
	<entry>
		<id>https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5478&amp;oldid=prev</id>
		<title>Bruno at 07:10, 14 October 2010</title>
		<link rel="alternate" type="text/html" href="https://rctn.org/w/index.php?title=VS265:_Homework_assignments_Fall2010&amp;diff=5478&amp;oldid=prev"/>
		<updated>2010-10-14T07:10:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Students are encouraged to work in groups, but turn in assignments &amp;#039;&amp;#039;individually&amp;#039;&amp;#039;, listing the group members they worked with.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Submission instructions&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
email both a PDF of your solutions as well as your code (.m or .py files) as attachments to:&lt;br /&gt;
    rctn.org vs265 (vs265 should be out front)&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
= Resources =&lt;br /&gt;
== Matlab == &lt;br /&gt;
Amir, the past GSI for the course says &amp;quot;There is a guide to Matlab on the web by Kevin Murphy which is really excellent. I think it would be great for the VS265 students: [http://code.google.com/p/yagtom/ http://code.google.com/p/yagtom/]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
Fernando Perez at the Brain Imaging Center has an &amp;#039;&amp;#039;excellent&amp;#039;&amp;#039; set of resources on [http://fperez.org/py4science/index.html Python for scientific computing]. You will likely find the [http://fperez.org/py4science/starter_kit.html &amp;quot;Starter Kit&amp;quot;] particularly useful. &lt;br /&gt;
&lt;br /&gt;
Additionally, Josh Bloom (Astronomy) is teaching a [https://bspace.berkeley.edu/portal/tool/!gateway-410?panel=Main Science Research Computing with Python] course this semester (on Mondays 2-5pm in Hearst 310, Fall 2010, CCN 06180) which you might want to take. A [https://sites.google.com/site/pythonbootcamp/lectures Python Boot Camp] kicked-off that class, and has a lot of accessible introductory material.&lt;br /&gt;
&lt;br /&gt;
= Assignments =&lt;br /&gt;
==== Lab #1, due Thursday, September 9th at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab1.pdf lab1.pdf]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/data.mat data.mat]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;for Python: either ...&amp;#039;&amp;#039;&lt;br /&gt;
   In [1]: import scipy.io&lt;br /&gt;
   In [2]: d = scipy.io.loadmat(&amp;quot;data.mat&amp;quot;)&lt;br /&gt;
   In [3]: X,O = d[&amp;#039;X&amp;#039;],d[&amp;#039;O&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;or use [http://redwood.berkeley.edu/vs265/data.npz data.npz]&amp;#039;&amp;#039;&lt;br /&gt;
   In [1]: import numpy as np&lt;br /&gt;
   In [2]: d = np.load(&amp;#039;data.npz&amp;#039;)&lt;br /&gt;
   In [3]: X,O = d[&amp;#039;X&amp;#039;],d[&amp;#039;O&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
* Solutions: [http://redwood.berkeley.edu/vs265/soln1-2010.pdf pdf] [http://redwood.berkeley.edu/vs265/lab1.txt lab1.py] [http://redwood.berkeley.edu/vs265/lab1-08.m lab1.m (from &amp;#039;08)] &lt;br /&gt;
&lt;br /&gt;
==== Lab #2, due Tuesday, Sep 21 at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab2-10.pdf lab2.pdf]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/apples.mat apples.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/oranges.mat oranges.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab2s.m lab2s.m] or [http://redwood.berkeley.edu/vs265/lab2s.txt lab2s.py]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/apples2.mat apples2.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/oranges2.mat oranges2.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab2m.m lab2m.m]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For Python you can use [http://redwood.berkeley.edu/vs265/apples-oranges.npz apples-oranges.npz]&amp;#039;&amp;#039;&lt;br /&gt;
   In [1]: import numpy as np&lt;br /&gt;
   In [2]: d = np.load(&amp;#039;apples-oranges.npz&amp;#039;)&lt;br /&gt;
   In [3]: d.keys()&lt;br /&gt;
   Out[3]: [&amp;#039;oranges2&amp;#039;, &amp;#039;apples2&amp;#039;, &amp;#039;apples&amp;#039;, &amp;#039;oranges&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--* Solutions: [http://redwood.berkeley.edu/amir/vs298/soln2-08.pdf pdf] [http://redwood.berkeley.edu/amir/vs298/soln2.zip zip&amp;#039;d Matlab code]--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lab #3, due Tuesday, September 28 at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/lab3.pdf lab3.pdf]&lt;br /&gt;
Matlab code are as separate files below.&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/data2d.mat data2d.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/faces2.mat faces2.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/hebb.m hebb.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/eigmovie.m eigmovie.m]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For Python you can use &amp;#039;&amp;#039;&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/data2d.npz data2d.npz] (see previous assignments above for how to read this in)&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/faces2.npz faces2.npz]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/hebb.txt hebb.py]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab3/eigmovie.txt eigmovie.py]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--* Solutions: [http://redwood.berkeley.edu/amir/vs298/hw3-08.pdf pdf] [http://redwood.berkeley.edu/amir/vs298/hw3-08.zip zip&amp;#039;d Matlab code]. For self-grading, each question is worth 3 points.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lab #4, due Tuesday, Oct 5 at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab4.pdf lab4]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/foldiak_class_scripts.zip foldiak scripts (zip)]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/sparsenet_class_scripts.zip sparsenet scripts (zip)]&lt;br /&gt;
* You will also need the following set of whitened natural movie images: [https://redwood.berkeley.edu/bruno/sparsenet/IMAGES.mat IMAGES.mat]&lt;br /&gt;
&amp;lt;!--* Solutions: [http://redwood.berkeley.edu/amir/vs298/sol4-08.pdf pdf] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lab #5 due Tuesday, Oct 12 at beginning of class ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5.pdf lab5]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5/kohonen.m kohonen.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5/showrfs.m showrfs.m]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Python code:&amp;#039;&amp;#039;&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5/kohonen.txt kohonen.py]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab5/showrfs.txt showrfs.py]&lt;br /&gt;
&amp;lt;!--* Solutions: [http://redwood.berkeley.edu/amir/vs298/lab5/soln5-08.pdf pdf] [http://redwood.berkeley.edu/amir/vs298/lab5/lab5.zip zip&amp;#039;d Matlab code]--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lab #6 (Due Tuesday, Oct 26 at beginning of class) ====&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6.zip zip&amp;#039;d Matlab files]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/genpat.m genpat.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/hopnet.m hopnet.m]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/patterns.mat patterns.mat]&lt;br /&gt;
* [http://redwood.berkeley.edu/vs265/lab6/corrupt.m corrupt.m]&lt;br /&gt;
&amp;lt;!--* Solutions: [http://redwood.berkeley.edu/amir/vs298/sol6-08.pdf pdf]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bruno</name></author>
	</entry>
</feed>