<?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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Justin Domke's Weblog</title>
	<atom:link href="http://justindomke.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://justindomke.wordpress.com</link>
	<description></description>
	<lastBuildDate>Sun, 08 Nov 2009 21:15:07 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on About by John Barnett</title>
		<link>http://justindomke.wordpress.com/about/#comment-194</link>
		<dc:creator>John Barnett</dc:creator>
		<pubDate>Sun, 08 Nov 2009 21:15:07 +0000</pubDate>
		<guid isPermaLink="false">#comment-194</guid>
		<description>Justin,

Your Father gave a sermon at his church today.  I was impressed.  While I am not a religious person, I can understand people who are. Fred did a good job.

I hope you and Masao (?spelling) are doing okay.

Congratulations on your new position.

John Barnett</description>
		<content:encoded><![CDATA[<p>Justin,</p>
<p>Your Father gave a sermon at his church today.  I was impressed.  While I am not a religious person, I can understand people who are. Fred did a good job.</p>
<p>I hope you and Masao (?spelling) are doing okay.</p>
<p>Congratulations on your new position.</p>
<p>John Barnett</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Completing the square in N dimensions by david</title>
		<link>http://justindomke.wordpress.com/completing-the-square-in-n-dimensions/#comment-192</link>
		<dc:creator>david</dc:creator>
		<pubDate>Mon, 02 Nov 2009 23:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://justindomke.wordpress.com/?page_id=828#comment-192</guid>
		<description>I like this.  Seems like all of numerics is reducing nonlinear problems to linear ones.  Always wondered if there was a generalization of the quadratic equation to operators but never got this far..</description>
		<content:encoded><![CDATA[<p>I like this.  Seems like all of numerics is reducing nonlinear problems to linear ones.  Always wondered if there was a generalization of the quadratic equation to operators but never got this far..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mandelbrot in Scala by Ewald</title>
		<link>http://justindomke.wordpress.com/2008/11/29/mandelbrot-in-scala/#comment-191</link>
		<dc:creator>Ewald</dc:creator>
		<pubDate>Sun, 01 Nov 2009 10:54:41 +0000</pubDate>
		<guid isPermaLink="false">http://justindomke.wordpress.com/?p=138#comment-191</guid>
		<description>http://wiki.cython.org/tutorials/numpy

Look here for info on how to use numpy arrays effciently inside a cython routine. I mailed the code.

cython -a yourfile.pyx makes an html file that highlights the slow (python calls) bits. Double click the lines to see the generated code.</description>
		<content:encoded><![CDATA[<p><a href="http://wiki.cython.org/tutorials/numpy" rel="nofollow">http://wiki.cython.org/tutorials/numpy</a></p>
<p>Look here for info on how to use numpy arrays effciently inside a cython routine. I mailed the code.</p>
<p>cython -a yourfile.pyx makes an html file that highlights the slow (python calls) bits. Double click the lines to see the generated code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mandelbrot in Scala by Justin</title>
		<link>http://justindomke.wordpress.com/2008/11/29/mandelbrot-in-scala/#comment-189</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Sun, 01 Nov 2009 00:25:39 +0000</pubDate>
		<guid isPermaLink="false">http://justindomke.wordpress.com/?p=138#comment-189</guid>
		<description>Very cool.  Actually, since writing this post, I have basically abandoned Scala for python, so that is encouraging.  (Python&#039;s libraries are 1000x better, which outweighs everything in the end)  I am frankly amazed you got such good performance out of regular python!  I&#039;ve been using weave, rather than cython for performance, but I should probably take another look at that.  I would appreciate looking at the code ((myfirstname).(mylastname).rit.edu, or just post it as a comment).  I remember having a hard time figuring out how to get cython to run quickly.</description>
		<content:encoded><![CDATA[<p>Very cool.  Actually, since writing this post, I have basically abandoned Scala for python, so that is encouraging.  (Python&#8217;s libraries are 1000x better, which outweighs everything in the end)  I am frankly amazed you got such good performance out of regular python!  I&#8217;ve been using weave, rather than cython for performance, but I should probably take another look at that.  I would appreciate looking at the code ((myfirstname).(mylastname).rit.edu, or just post it as a comment).  I remember having a hard time figuring out how to get cython to run quickly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mandelbrot in Scala by Ewald</title>
		<link>http://justindomke.wordpress.com/2008/11/29/mandelbrot-in-scala/#comment-188</link>
		<dc:creator>Ewald</dc:creator>
		<pubDate>Sat, 31 Oct 2009 19:29:07 +0000</pubDate>
		<guid isPermaLink="false">http://justindomke.wordpress.com/?p=138#comment-188</guid>
		<description>Hi, 

Not sure if this is relevant anymore. Just for fun I coded your second example in python and cython (the calculation bit).

Using your numbers, n=2048 level=100 I get:

Python Mandelbrot with n=2048 and level=100 in 58.295 seconds
Cython Mandelbrot with n=2048 and level=100 in 1.218 seconds
Same answer? :  True
Speedup:  47.8744235634

Laptop has Core 2 Duo T9300 with 3GB ram on Ubuntu 8.10 64bit. I can send you the code if you&#039;d like. Using python/cython/scipy/numpy/matplotlib/f2py is probably a better way than more obscure (for number crunching and real world problems) languages. 

Cheers</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Not sure if this is relevant anymore. Just for fun I coded your second example in python and cython (the calculation bit).</p>
<p>Using your numbers, n=2048 level=100 I get:</p>
<p>Python Mandelbrot with n=2048 and level=100 in 58.295 seconds<br />
Cython Mandelbrot with n=2048 and level=100 in 1.218 seconds<br />
Same answer? :  True<br />
Speedup:  47.8744235634</p>
<p>Laptop has Core 2 Duo T9300 with 3GB ram on Ubuntu 8.10 64bit. I can send you the code if you&#8217;d like. Using python/cython/scipy/numpy/matplotlib/f2py is probably a better way than more obscure (for number crunching and real world problems) languages. </p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convex Functions by justindomke</title>
		<link>http://justindomke.wordpress.com/convex-functions/#comment-185</link>
		<dc:creator>justindomke</dc:creator>
		<pubDate>Mon, 19 Oct 2009 21:27:39 +0000</pubDate>
		<guid isPermaLink="false">http://justindomke.wordpress.com/convex-functions/#comment-185</guid>
		<description>Well... OK.  First, assume $latex f$ is convex, and let&#039;s prove $latex g$ is convex.  We have that

$latex g(\alpha t + \beta s)$
$latex = f(x + (\alpha t + \beta s)v)$
$latex = f(\alpha (x + t v) + \beta (x + s v))$
$latex \leq \alpha f(x + t v) + \beta (x + s v)$
$latex = \alpha g(t) + \beta g(s)$.

Now, instead assume $latex g$ is convex for all choices of $latex x,v$.  Then,
$latex f(\alpha x + \beta y)$
$latex = f(x + \beta(y-x))$
$latex = g(\beta)$ (where $latex v=y-x$ in the definition of $latex g$).
$latex \leq (1-\beta)g(0) + \beta g(1)$
$latex = \alpha f(x) + \beta f(y)$

In all honesty that wasn&#039;t as trivial as I remembered it being...</description>
		<content:encoded><![CDATA[<p>Well&#8230; OK.  First, assume <img src='http://s1.wordpress.com/latex.php?latex=f&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='f' title='f' class='latex' /> is convex, and let&#8217;s prove <img src='http://s2.wordpress.com/latex.php?latex=g&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='g' title='g' class='latex' /> is convex.  We have that</p>
<p><img src='http://s3.wordpress.com/latex.php?latex=g%28%5Calpha+t+%2B+%5Cbeta+s%29&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='g(\alpha t + \beta s)' title='g(\alpha t + \beta s)' class='latex' /><br />
<img src='http://s1.wordpress.com/latex.php?latex=%3D+f%28x+%2B+%28%5Calpha+t+%2B+%5Cbeta+s%29v%29&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='= f(x + (\alpha t + \beta s)v)' title='= f(x + (\alpha t + \beta s)v)' class='latex' /><br />
<img src='http://s2.wordpress.com/latex.php?latex=%3D+f%28%5Calpha+%28x+%2B+t+v%29+%2B+%5Cbeta+%28x+%2B+s+v%29%29&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='= f(\alpha (x + t v) + \beta (x + s v))' title='= f(\alpha (x + t v) + \beta (x + s v))' class='latex' /><br />
<img src='http://s3.wordpress.com/latex.php?latex=%5Cleq+%5Calpha+f%28x+%2B+t+v%29+%2B+%5Cbeta+%28x+%2B+s+v%29&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='\leq \alpha f(x + t v) + \beta (x + s v)' title='\leq \alpha f(x + t v) + \beta (x + s v)' class='latex' /><br />
<img src='http://s1.wordpress.com/latex.php?latex=%3D+%5Calpha+g%28t%29+%2B+%5Cbeta+g%28s%29&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='= \alpha g(t) + \beta g(s)' title='= \alpha g(t) + \beta g(s)' class='latex' />.</p>
<p>Now, instead assume <img src='http://s2.wordpress.com/latex.php?latex=g&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='g' title='g' class='latex' /> is convex for all choices of <img src='http://s3.wordpress.com/latex.php?latex=x%2Cv&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='x,v' title='x,v' class='latex' />.  Then,<br />
<img src='http://s1.wordpress.com/latex.php?latex=f%28%5Calpha+x+%2B+%5Cbeta+y%29&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='f(\alpha x + \beta y)' title='f(\alpha x + \beta y)' class='latex' /><br />
<img src='http://s2.wordpress.com/latex.php?latex=%3D+f%28x+%2B+%5Cbeta%28y-x%29%29&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='= f(x + \beta(y-x))' title='= f(x + \beta(y-x))' class='latex' /><br />
<img src='http://s3.wordpress.com/latex.php?latex=%3D+g%28%5Cbeta%29&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='= g(\beta)' title='= g(\beta)' class='latex' /> (where <img src='http://s1.wordpress.com/latex.php?latex=v%3Dy-x&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='v=y-x' title='v=y-x' class='latex' /> in the definition of <img src='http://s2.wordpress.com/latex.php?latex=g&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='g' title='g' class='latex' />).<br />
<img src='http://s3.wordpress.com/latex.php?latex=%5Cleq+%281-%5Cbeta%29g%280%29+%2B+%5Cbeta+g%281%29&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='\leq (1-\beta)g(0) + \beta g(1)' title='\leq (1-\beta)g(0) + \beta g(1)' class='latex' /><br />
<img src='http://s1.wordpress.com/latex.php?latex=%3D+%5Calpha+f%28x%29+%2B+%5Cbeta+f%28y%29&#038;bg=ffffff&#038;fg=333333&#038;s=0' alt='= \alpha f(x) + \beta f(y)' title='= \alpha f(x) + \beta f(y)' class='latex' /></p>
<p>In all honesty that wasn&#8217;t as trivial as I remembered it being&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convex Functions by Lee Jae won</title>
		<link>http://justindomke.wordpress.com/convex-functions/#comment-184</link>
		<dc:creator>Lee Jae won</dc:creator>
		<pubDate>Mon, 19 Oct 2009 00:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://justindomke.wordpress.com/convex-functions/#comment-184</guid>
		<description>I read the book.

Also I attended the lecture.

But he had assigned proving the upper definition to their students so I coudln&#039;t find the reason I wanted to know.

Could you please prove the upper definition again for me?

Thank you.</description>
		<content:encoded><![CDATA[<p>I read the book.</p>
<p>Also I attended the lecture.</p>
<p>But he had assigned proving the upper definition to their students so I coudln&#8217;t find the reason I wanted to know.</p>
<p>Could you please prove the upper definition again for me?</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convex Functions by justindomke</title>
		<link>http://justindomke.wordpress.com/convex-functions/#comment-183</link>
		<dc:creator>justindomke</dc:creator>
		<pubDate>Sun, 18 Oct 2009 22:39:12 +0000</pubDate>
		<guid isPermaLink="false">http://justindomke.wordpress.com/convex-functions/#comment-183</guid>
		<description>I highly recommend Boyd and Vandenberghe&#039;s book:

http://www.stanford.edu/~boyd/cvxbook/</description>
		<content:encoded><![CDATA[<p>I highly recommend Boyd and Vandenberghe&#8217;s book:</p>
<p><a href="http://www.stanford.edu/~boyd/cvxbook/" rel="nofollow">http://www.stanford.edu/~boyd/cvxbook/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convex Functions by Lee Jae won</title>
		<link>http://justindomke.wordpress.com/convex-functions/#comment-182</link>
		<dc:creator>Lee Jae won</dc:creator>
		<pubDate>Sun, 18 Oct 2009 18:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://justindomke.wordpress.com/convex-functions/#comment-182</guid>
		<description>A function is convex if any only if the restriction to a line is always convex. This follows pretty easily from the definition:

 is convex if and only if  is convex for any  and 

Would you please explain why this definition is formed to me?

I want to know origin of this definition

please send e-mail to me..</description>
		<content:encoded><![CDATA[<p>A function is convex if any only if the restriction to a line is always convex. This follows pretty easily from the definition:</p>
<p> is convex if and only if  is convex for any  and </p>
<p>Would you please explain why this definition is formed to me?</p>
<p>I want to know origin of this definition</p>
<p>please send e-mail to me..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fitting an inference algorithm instead of a model by john zheng</title>
		<link>http://justindomke.wordpress.com/2009/08/18/fitting-an-inference-algorithm-instead-of-a-model/#comment-174</link>
		<dc:creator>john zheng</dc:creator>
		<pubDate>Mon, 05 Oct 2009 22:47:46 +0000</pubDate>
		<guid isPermaLink="false">http://justindomke.wordpress.com/?p=741#comment-174</guid>
		<description>I guess this is a bit similar to Vapnik&#039;s philosophy of &quot;empirical inference science&quot;... in short, the end justifies the means.</description>
		<content:encoded><![CDATA[<p>I guess this is a bit similar to Vapnik&#8217;s philosophy of &#8220;empirical inference science&#8221;&#8230; in short, the end justifies the means.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
