<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nemenmanlab.org/~ilya/index.php?action=history&amp;feed=atom&amp;title=Physics_434%2C_2012%3A_Homework_6</id>
	<title>Physics 434, 2012: Homework 6 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nemenmanlab.org/~ilya/index.php?action=history&amp;feed=atom&amp;title=Physics_434%2C_2012%3A_Homework_6"/>
	<link rel="alternate" type="text/html" href="https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2012:_Homework_6&amp;action=history"/>
	<updated>2026-05-17T10:38:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2012:_Homework_6&amp;diff=449&amp;oldid=prev</id>
		<title>Ilya: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2012:_Homework_6&amp;diff=449&amp;oldid=prev"/>
		<updated>2018-07-04T16:28:42Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:28, 4 July 2018&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>Ilya</name></author>
		
	</entry>
	<entry>
		<id>https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2012:_Homework_6&amp;diff=448&amp;oldid=prev</id>
		<title>nemenman&gt;Ilya at 16:36, 25 October 2012</title>
		<link rel="alternate" type="text/html" href="https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2012:_Homework_6&amp;diff=448&amp;oldid=prev"/>
		<updated>2012-10-25T16:36:48Z</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;{{PHYS434-2012}}&lt;br /&gt;
&lt;br /&gt;
#Let's explore the channel coding theorem (and also learn how to do optimization in Matlab and Octave). Suppose we have the following molecular information processing channel: for any number of molecules on the input &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, the channel output &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; is a Poisson variable with that mean (this is relevant to Ziv et al, 2007, which was discussed by Martin in one of the lectures). That is, &amp;lt;math&amp;gt;P(y|x)=\frac{x^ye^{-x}}{y!}&amp;lt;/math&amp;gt;. Write a code to estimate the mutual information over this channel for an arbitrary distribution of the (discrete) input signal. Use the input distribution as an input to the function you write. Explore different input distributions, assuming that the number of input molecules is between 0 and 64.  What are the general features of the input distribution that achieve higher mutual information? Recall that Ziv et al. have shown that you should be able to send &amp;lt;math&amp;gt;1/2\log_2 \bar{N}\approx 1/2 \log_2 64/2=2.5&amp;lt;/math&amp;gt; bits through this channel. Can you find a distribution that allows you to send close to these &amp;lt;math&amp;gt;\approx 2.5&amp;lt;/math&amp;gt; bits? Now try to maximize this mutual information by changing the input distribution comprehensively using minimization routines (in Matlab, you will need to use the fminsearch functions, and in octave you will use the sqp function; Matlab and octave are not compatible for optimization routines). How many bits can you send through at the maximum? Submit plots of your &amp;quot;most informative&amp;quot; distributions. &lt;br /&gt;
#''Open ended problem, not required:'' In class, we have considered a population of bacteria that choose between two different behavioral responses to environmental states. Now let's suppose that transitions among the environments are not totally random. That is, high stress environments are more likely after another high-stress environment than after a normal environment, and vice versa. Can you calculate the optimal phenotypic response strategies and the optimal growth rate in this case?&lt;br /&gt;
#We briefly touched on using mutual information to choose optimal reduced models for the data. Consider now three neurons: X, Y, Z. We need to understand if both X and Y project into Z and affect its spiking. Further, if both affect Z, we need to understand how big of an error we make by neglecting one of the projections. Download the following simulated [[media:neural-3neurons.mat |neural spiking data]]. In this file, you will find a variable ''spikes'', which is 3x1e4 in size. The rows are the activities of each of the neurons, and the columns are the time steps. Each entry in the matrix tells us how many times a particular neuron has fired in a particular time step. Estimate the mutual informations among the neurons and answer the two questions above.&lt;br /&gt;
#''Open ended problem, not required:'' Now download the [[media:neural-calabrese.txt | file of actual neural data]] (thanks to Ron Calabrese). This is the activity of six neurons in a leech heart. Can you analyze the data and understand the wiring diagram of this neural circuit?&lt;br /&gt;
#Assume that an enzyme &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; can bind a substrate &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; with the rate &amp;lt;math&amp;gt;k_{11}&amp;lt;/math&amp;gt;. It converts it to the product &amp;lt;math&amp;gt;P_1&amp;lt;/math&amp;gt; with the rate &amp;lt;math&amp;gt;k_{21}&amp;lt;/math&amp;gt; or releases it back at a rate &amp;lt;math&amp;gt;k_{-11}&amp;lt;/math&amp;gt;. It can also bind a substrate &amp;lt;math&amp;gt;S_2&amp;lt;/math&amp;gt; with the rate &amp;lt;math&amp;gt;k_{12}&amp;lt;/math&amp;gt;, convert it to the product &amp;lt;math&amp;gt;P_2&amp;lt;/math&amp;gt; with the rate &amp;lt;math&amp;gt;k_{22}&amp;lt;/math&amp;gt; or releases it back at a rate &amp;lt;math&amp;gt;k_{-12}&amp;lt;/math&amp;gt;. However, it cannot bind both substrates at the same time. Calculate the production rate of the product &amp;lt;math&amp;gt;P_2&amp;lt;/math&amp;gt; in this case in the quasi steady state limit.&lt;/div&gt;</summary>
		<author><name>nemenman&gt;Ilya</name></author>
		
	</entry>
</feed>