<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Codebright&#039;s Blog</title>
	<atom:link href="http://codebright.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://codebright.wordpress.com</link>
	<description>Random thoughts on code</description>
	<lastBuildDate>Thu, 20 Sep 2012 11:54:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Python regular expression surprise by Nagesh</title>
		<link>http://codebright.wordpress.com/2011/02/19/python-regular-expression-surprise/#comment-26</link>
		<dc:creator><![CDATA[Nagesh]]></dc:creator>
		<pubDate>Thu, 20 Sep 2012 11:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://codebright.wordpress.com/?p=117#comment-26</guid>
		<description><![CDATA[Thanks, was looking out for this! :)]]></description>
		<content:encoded><![CDATA[<p>Thanks, was looking out for this! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SendKeys in Linux by Henry Charles</title>
		<link>http://codebright.wordpress.com/2010/06/27/sendkeys-in-linux/#comment-23</link>
		<dc:creator><![CDATA[Henry Charles]]></dc:creator>
		<pubDate>Fri, 09 Mar 2012 13:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://codebright.wordpress.com/?p=108#comment-23</guid>
		<description><![CDATA[Found this, works great: https://sourceforge.net/projects/x11guitest/]]></description>
		<content:encoded><![CDATA[<p>Found this, works great: <a href="https://sourceforge.net/projects/x11guitest/" rel="nofollow">https://sourceforge.net/projects/x11guitest/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading gzip files in Python &#8211; fast! by me</title>
		<link>http://codebright.wordpress.com/2011/03/25/139/#comment-22</link>
		<dc:creator><![CDATA[me]]></dc:creator>
		<pubDate>Mon, 30 Jan 2012 17:42:23 +0000</pubDate>
		<guid isPermaLink="false">http://codebright.wordpress.com/?p=139#comment-22</guid>
		<description><![CDATA[I&#039;d:

- avoid reading the entire file into memory using subprocess.communicate() and cStringIO
- initialize the cc, lc and sz outside of the internal loop]]></description>
		<content:encoded><![CDATA[<p>I&#8217;d:</p>
<p>- avoid reading the entire file into memory using subprocess.communicate() and cStringIO<br />
- initialize the cc, lc and sz outside of the internal loop</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading gzip files in Python &#8211; fast! by insider</title>
		<link>http://codebright.wordpress.com/2011/03/25/139/#comment-21</link>
		<dc:creator><![CDATA[insider]]></dc:creator>
		<pubDate>Wed, 18 Jan 2012 10:32:20 +0000</pubDate>
		<guid isPermaLink="false">http://codebright.wordpress.com/?p=139#comment-21</guid>
		<description><![CDATA[cool, i&#039;m doing some researches in parsing syslog logs, do you know any syslog parse module like in Perl Parse::Syslog?]]></description>
		<content:encoded><![CDATA[<p>cool, i&#8217;m doing some researches in parsing syslog logs, do you know any syslog parse module like in Perl Parse::Syslog?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linear Algebra Review and numpy by codebright</title>
		<link>http://codebright.wordpress.com/2011/10/07/linear-algebra-review-and-numpy/#comment-8</link>
		<dc:creator><![CDATA[codebright]]></dc:creator>
		<pubDate>Sun, 09 Oct 2011 20:45:28 +0000</pubDate>
		<guid isPermaLink="false">http://codebright.wordpress.com/?p=203#comment-8</guid>
		<description><![CDATA[Many thanks for all the hints and tips.  I appreciate the input.
Paul]]></description>
		<content:encoded><![CDATA[<p>Many thanks for all the hints and tips.  I appreciate the input.<br />
Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linear Algebra Review and numpy by dietrich</title>
		<link>http://codebright.wordpress.com/2011/10/07/linear-algebra-review-and-numpy/#comment-7</link>
		<dc:creator><![CDATA[dietrich]]></dc:creator>
		<pubDate>Sat, 08 Oct 2011 11:57:10 +0000</pubDate>
		<guid isPermaLink="false">http://codebright.wordpress.com/?p=203#comment-7</guid>
		<description><![CDATA[I used to work with Octave before switching to python. You&#039;ll find a good cheat sheet at http://www.scipy.org/NumPy_for_Matlab_Users
It helped me a lot.
Cheers, dietrich]]></description>
		<content:encoded><![CDATA[<p>I used to work with Octave before switching to python. You&#8217;ll find a good cheat sheet at <a href="http://www.scipy.org/NumPy_for_Matlab_Users" rel="nofollow">http://www.scipy.org/NumPy_for_Matlab_Users</a><br />
It helped me a lot.<br />
Cheers, dietrich</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linear Algebra Review and numpy by Ludovico Fischer</title>
		<link>http://codebright.wordpress.com/2011/10/07/linear-algebra-review-and-numpy/#comment-6</link>
		<dc:creator><![CDATA[Ludovico Fischer]]></dc:creator>
		<pubDate>Sat, 08 Oct 2011 09:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://codebright.wordpress.com/?p=203#comment-6</guid>
		<description><![CDATA[There is no need to use numpy.matrix. You can obtain matrix multiplication on an numpy.array with the .dot method: arrayA.dot(arrayA) gives the same result as matrixA * matrixA.]]></description>
		<content:encoded><![CDATA[<p>There is no need to use numpy.matrix. You can obtain matrix multiplication on an numpy.array with the .dot method: arrayA.dot(arrayA) gives the same result as matrixA * matrixA.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linear Algebra Review and numpy by Gael Varoquaux</title>
		<link>http://codebright.wordpress.com/2011/10/07/linear-algebra-review-and-numpy/#comment-5</link>
		<dc:creator><![CDATA[Gael Varoquaux]]></dc:creator>
		<pubDate>Sat, 08 Oct 2011 09:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://codebright.wordpress.com/?p=203#comment-5</guid>
		<description><![CDATA[You can also write the transpose as: &#039;A.T&#039;.

On a side note, I suggest strongly that you do not use the numpy matrix object but stick to arrays, and use the &#039;np.dot&#039; function to do matrix multiplication. The reason is that it looks very much like an array object, but behaves ever so slightly differently. When you start having a large codebase, the mixture of the two will make your code hard to follow. This is the prevailing view in the numy community.

Finally, to do machine learning in Python, check out the scikit-learn. Hopefully it should be a good companion to the Stanford courses :).]]></description>
		<content:encoded><![CDATA[<p>You can also write the transpose as: &#8216;A.T&#8217;.</p>
<p>On a side note, I suggest strongly that you do not use the numpy matrix object but stick to arrays, and use the &#8216;np.dot&#8217; function to do matrix multiplication. The reason is that it looks very much like an array object, but behaves ever so slightly differently. When you start having a large codebase, the mixture of the two will make your code hard to follow. This is the prevailing view in the numy community.</p>
<p>Finally, to do machine learning in Python, check out the scikit-learn. Hopefully it should be a good companion to the Stanford courses <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linear Algebra Review and numpy by bc</title>
		<link>http://codebright.wordpress.com/2011/10/07/linear-algebra-review-and-numpy/#comment-4</link>
		<dc:creator><![CDATA[bc]]></dc:creator>
		<pubDate>Sat, 08 Oct 2011 09:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://codebright.wordpress.com/?p=203#comment-4</guid>
		<description><![CDATA[Note, numpy matrices support the following abbreviations:
&gt;&gt;&gt; import numpy
&gt;&gt;&gt; m = numpy.matrix([[1,2],[3,4]],dtype=numpy.complex128) + 0.0+0.5j
&gt;&gt;&gt; m
matrix([[ 1.+0.5j,  2.+0.5j],
        [ 3.+0.5j,  4.+0.5j]])
&gt;&gt;&gt; m.T #transpose of m
matrix([[ 1.+0.5j,  3.+0.5j],
        [ 2.+0.5j,  4.+0.5j]])
&gt;&gt;&gt; m.H #Herminian conjugate
matrix([[ 1.-0.5j,  3.-0.5j],
        [ 2.-0.5j,  4.-0.5j]])
&gt;&gt;&gt; m.I #Inverse of m
matrix([[-2.0-0.25j,  1.0+0.25j],
        [ 1.5+0.25j, -0.5-0.25j]])
&gt;&gt;&gt; m.A #convert to an array
array([[ 1.+0.5j,  2.+0.5j],
       [ 3.+0.5j,  4.+0.5j]])
&gt;&gt;&gt; m.A1 #convert to a flattened array
array([ 1.+0.5j,  2.+0.5j,  3.+0.5j,  4.+0.5j])]]></description>
		<content:encoded><![CDATA[<p>Note, numpy matrices support the following abbreviations:<br />
&gt;&gt;&gt; import numpy<br />
&gt;&gt;&gt; m = numpy.matrix([[1,2],[3,4]],dtype=numpy.complex128) + 0.0+0.5j<br />
&gt;&gt;&gt; m<br />
matrix([[ 1.+0.5j,  2.+0.5j],<br />
        [ 3.+0.5j,  4.+0.5j]])<br />
&gt;&gt;&gt; m.T #transpose of m<br />
matrix([[ 1.+0.5j,  3.+0.5j],<br />
        [ 2.+0.5j,  4.+0.5j]])<br />
&gt;&gt;&gt; m.H #Herminian conjugate<br />
matrix([[ 1.-0.5j,  3.-0.5j],<br />
        [ 2.-0.5j,  4.-0.5j]])<br />
&gt;&gt;&gt; m.I #Inverse of m<br />
matrix([[-2.0-0.25j,  1.0+0.25j],<br />
        [ 1.5+0.25j, -0.5-0.25j]])<br />
&gt;&gt;&gt; m.A #convert to an array<br />
array([[ 1.+0.5j,  2.+0.5j],<br />
       [ 3.+0.5j,  4.+0.5j]])<br />
&gt;&gt;&gt; m.A1 #convert to a flattened array<br />
array([ 1.+0.5j,  2.+0.5j,  3.+0.5j,  4.+0.5j])</p>
]]></content:encoded>
	</item>
</channel>
</rss>
