<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>experimental math Archivi - Paola Elefante</title>
	<atom:link href="https://paolaelefante.com/category/experimental-math/feed/" rel="self" type="application/rss+xml" />
	<link>https://paolaelefante.com/category/experimental-math/</link>
	<description>Helping you reconnect with your direction and move forward with confidence</description>
	<lastBuildDate>Wed, 04 May 2016 17:38:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>
	<item>
		<title>Ch- ch- changes!</title>
		<link>https://paolaelefante.com/2016/05/ch-ch-changes/</link>
					<comments>https://paolaelefante.com/2016/05/ch-ch-changes/#respond</comments>
		
		<dc:creator><![CDATA[Paola Elefante]]></dc:creator>
		<pubDate>Wed, 04 May 2016 17:38:03 +0000</pubDate>
				<category><![CDATA[experimental math]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[people]]></category>
		<guid isPermaLink="false">https://paolaelefante.com/?p=872</guid>

					<description><![CDATA[<p>I have been neglecting my blog lately as some major changes happened in my life. About three weeks ago I said goodbye to academia and started working at RELEX Solutions, a growing Finnish (&#38; international)&#8230;</p>
<p>L'articolo <a href="https://paolaelefante.com/2016/05/ch-ch-changes/">Ch- ch- changes!</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></description>
										<content:encoded><![CDATA[<hr />
<p style="text-align: center;">I have been neglecting my blog lately as some major changes happened in my life. About three weeks ago I said goodbye to academia and started working at RELEX Solutions, a growing Finnish (&amp; international) software company which offers automatized solutions for managing the supply chain processes.</p>
<figure id="attachment_874" aria-describedby="caption-attachment-874" style="width: 300px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2016/05/image1.jpeg"><img fetchpriority="high" decoding="async" class="size-medium wp-image-874" src="https://paolaelefante.com/wp-content/uploads/2016/05/image1-300x225.jpeg" alt="Fresh from print, my business cards." width="300" height="225" srcset="https://paolaelefante.com/wp-content/uploads/2016/05/image1-300x225.jpeg 300w, https://paolaelefante.com/wp-content/uploads/2016/05/image1-1024x768.jpeg 1024w, https://paolaelefante.com/wp-content/uploads/2016/05/image1-1200x900-cropped.jpeg 1200w, https://paolaelefante.com/wp-content/uploads/2016/05/image1-800x600.jpeg 800w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-874" class="wp-caption-text">Fresh from print, my business cards.</figcaption></figure>
<p>Leaving academia - after about 10 years, studying years included - was hard, especially given all the projects I was vetting and those I had myself started. However, I feel it was the right choice for me, given my professional ambitions, my set of skills, and my personal life plans. The recent economic cuts in Finnish academia were an additional push out of there, not for a imminent risk, but because I felt they slimmed my future opportunities in academia even more.</p>
<p>Things at my new job have started great. I have been blessed with the most helpful and friendly colleagues, and a positive and energetic atmosphere at the office. Supply Chain management includes many mathematical challenges, optimization and, of course, handling big data. There are tons of new things to learn and I am putting all my enthusiasm in doing so. Looking forward to present some interesting SC math here soon!</p>
<hr />
<p>&nbsp;</p>
<p>L'articolo <a href="https://paolaelefante.com/2016/05/ch-ch-changes/">Ch- ch- changes!</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://paolaelefante.com/2016/05/ch-ch-changes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>A small guide to Random Forest - part 2</title>
		<link>https://paolaelefante.com/2016/03/a-small-guide-to-random-forest-part-2/</link>
					<comments>https://paolaelefante.com/2016/03/a-small-guide-to-random-forest-part-2/#comments</comments>
		
		<dc:creator><![CDATA[Paola Elefante]]></dc:creator>
		<pubDate>Thu, 17 Mar 2016 13:04:51 +0000</pubDate>
				<category><![CDATA[algorithms]]></category>
		<category><![CDATA[experimental math]]></category>
		<category><![CDATA[inverse problems]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[research]]></category>
		<guid isPermaLink="false">https://paolaelefante.com/?p=840</guid>

					<description><![CDATA[<p>This is the second part of a simple and brief guide to the Random Forest algorithm and its implementation in R. If you missed Part I, you can find it here. randomForest in R R&#8230;</p>
<p>L'articolo <a href="https://paolaelefante.com/2016/03/a-small-guide-to-random-forest-part-2/">A small guide to Random Forest - part 2</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This is the second part of a simple and brief guide to the Random Forest algorithm and its implementation in R. If you missed Part I, you can find it <a href="https://paolaelefante.com/2016/03/random-forest-part1/" target="_blank">here</a>.</p>
<h4>randomForest in R</h4>
<p>R has a <a href="https://cran.r-project.org/web/packages/randomForest/randomForest.pdf" target="_blank">package called randomForest</a> which contains a randomForest function. If you want to explore in depth this implementation, I suggest to read <a href="https://www.stat.berkeley.edu/~breiman/RandomForests/cc_home.htm" target="_blank">the support webpage</a>. Here I'd like to show the use of few parameters in the R function. I will here use the <a href="https://www.kaggle.com/c/titanic/data" target="_blank">Titanic dataset</a> from <a href="http://www.kaggle.com" target="_blank">Kaggle</a> to explore some functions and parameters in randomForest. The problem consists in predicting the survival of passengers, based on some data about them.</p>
<pre>library(randomForest)
my_formula &lt;- factor(Survived) ~ Sex + Pclass + Parch + SibSp + Embarked
my_forest &lt;- randomForest(my_formula, data = train, ntree = 400, mtry = 3 )</pre>
<p>Here I tuned the number of tree to grow with <em>ntree</em> (standard value is 500). The variable <em>mtry</em> specifies how many random features will be selected to grow a single tree. Here I chose <em>mtry = 3</em>, meaning that three features in the set {<em>Sex</em>, <em>Pclass</em>, <em>Parch</em>, <em>SibSp</em>, <em>Embarked</em>} will be randomly chosen every time a tree is grown. If I type:</p>
<pre>my_forest</pre>
<p>I get a briefing of the variables and the trained model:</p>
<pre>Call:
 randomForest(formula = my_formula, data = train, ntree = 400, mtry = 3) 
 Type of random forest: classification
 Number of trees: 400
No. of variables tried at each split: 3</pre>
<pre>OOB estimate of error rate: 19.85%
Confusion matrix:
 0 1 class.error
0 442 47 0.09611452
1 110 192 0.36423841</pre>
<p>The OOB (out-of-bag) error is complementary to the accuracy, and it's here calculated as the ratio: <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_5ecc38a605e00460435e1db9249bcb7a.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>. Look at the confusion matrix, which summarise how many cases were guessed right from our model. On the principal diagonal we can see the cases which are predicted well from <em>my_forest</em>. Indeed, we get: <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_c32d6823074be23a1b087b37794c54df.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> which corresponds to the OOB error of <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_22a592413cedb07f61fccd2510bec021.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>. This is equivalent to saying that the accuracy of our model is <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_9ddf69f2ed89bf88bb6454ddaffb7c51.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>. OOB error is calculated for each tree and you can access to such values by typing:</p>
<pre>my_forest$err.rate</pre>
<p>Nerdy note: notice that the OOB error of the model is not the mean of <em>my_forest$err.rate</em>. They are calculated differently!<br />
Another nice parameter is <em>sampsize</em>, meaning controlling how many rows of the dataframe will get selected to build a single tree:</p>
<pre>my_forest &lt;- randomForest(my_formula, data = train, ntree = 1000, mtry = 2, sampsize = (0.9*nrow(train)), replace=TRUE )</pre>
<p>Here I asked that <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_e695a8421cc7f79ac872e765ffa31bd9.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> of data is used for each tree. In addition, I set <em>replace = TRUE</em>, meaning that one row may be chosen more than once.</p>
<p>One nice aspect of randomForest is the variable importance, which can turn out very useful in feature engineering. If you type, for instance:</p>
<pre>my_forest &lt;- randomForest(my_formula, data = train, ntree = 400, importance = TRUE) 
varImpPlot(my_forest)</pre>
<p>you'll get a plot as follows.</p>
<p><a href="https://paolaelefante.com/wp-content/uploads/2016/03/my_varImpPlot.png"><img decoding="async" class="aligncenter wp-image-859 size-large" src="https://paolaelefante.com/wp-content/uploads/2016/03/my_varImpPlot-1024x511.png" alt="my_varImpPlot" width="648" height="323" srcset="https://paolaelefante.com/wp-content/uploads/2016/03/my_varImpPlot-1024x511.png 1024w, https://paolaelefante.com/wp-content/uploads/2016/03/my_varImpPlot-300x150.png 300w, https://paolaelefante.com/wp-content/uploads/2016/03/my_varImpPlot-800x399.png 800w, https://paolaelefante.com/wp-content/uploads/2016/03/my_varImpPlot-1200x599.png 1200w, https://paolaelefante.com/wp-content/uploads/2016/03/my_varImpPlot.png 1499w" sizes="(max-width: 648px) 100vw, 648px" /></a></p>
<p>&nbsp;</p>
<p>The importance of each feature is measured in two ways, as described by <a href="https://cran.r-project.org/web/packages/randomForest/randomForest.pdf" target="_blank">documentation</a>:</p>
<div class="page" title="Page 6">
<div class="layoutArea">
<div class="column">
<blockquote><p>Here are the definitions of the variable importance measures. The first measure is computed from permuting OOB data: For each tree, the prediction error on the out-of-bag portion of the data is recorded (error rate for classification, MSE for regression). Then the same is done after permuting each predictor variable. The difference between the two are then averaged over all trees, and nor- malized by the standard deviation of the differences. If the standard deviation of the differences is equal to 0 for a variable, the division is not done (but the average is almost always equal to 0 in that case).</p>
<p>The second measure is the total decrease in node impurities from splitting on the variable, averaged over all trees. For classification, the node impurity is measured by the <a href="https://en.wikipedia.org/wiki/Gini_coefficient" target="_blank">Gini index</a>. For regression, it is measured by residual sum of squares.</p></blockquote>
<p>Another possible choice is to set <em>localImp = TRUE</em>, and see how much each feature influenced the output of each single row. For example, here is the importance of <em>Sex</em> in our model:</p>
<p><a href="https://paolaelefante.com/wp-content/uploads/2016/03/localImpSex.png"><img decoding="async" class="aligncenter size-medium wp-image-861" src="https://paolaelefante.com/wp-content/uploads/2016/03/localImpSex-300x150.png" alt="localImpSex" width="300" height="150" srcset="https://paolaelefante.com/wp-content/uploads/2016/03/localImpSex-300x150.png 300w, https://paolaelefante.com/wp-content/uploads/2016/03/localImpSex-1024x511.png 1024w, https://paolaelefante.com/wp-content/uploads/2016/03/localImpSex-800x399.png 800w, https://paolaelefante.com/wp-content/uploads/2016/03/localImpSex-1200x599.png 1200w, https://paolaelefante.com/wp-content/uploads/2016/03/localImpSex.png 1499w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>&nbsp;</p>
</div>
</div>
</div>
<h4>Things to keep in mind</h4>
<p>The R package randomForest allows to evaluate variable importance (in randomForest, set the parameter importance = TRUE, save the function output and pass it to varImpPlot()). However, keep in mind the following:</p>
<blockquote><p>For data including categorical variables with different number of levels, random forests are biased in favor of those attributes with more levels. Methods such as partial permutations and growing unbiased trees can be used to solve the problem. (source: <a href="https://en.wikipedia.org/wiki/Random_forest" target="_blank">Wikipedia</a>)</p></blockquote>
<p>How many trees should one grow? In principle, the more the merrier. However, the information gain after a certain number is not worth the additional computational cost. The <a href="http://www.amazon.com/gp/product/0123748569?keywords=Data%20Mining%20by%20Witten&amp;qid=1458217272&amp;ref_=sr_1_1&amp;sr=8-1" target="_blank">computational complexity</a> of Random Forest is <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_da399f21ca9990c6da26a253cd276f5b.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>, where <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_69691c7bdcc3ce6d5d8a1361f22d04ac.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script> is <em>ntree</em>, <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_6f8f57715090da2632453988d9a1501b.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="" /></span><script type='math/tex'></script> is <em>mtry</em> and <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="" /></span><script type='math/tex'></script> is <em>sampsize</em>.</p>
<figure id="attachment_857" aria-describedby="caption-attachment-857" style="width: 648px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2016/03/Ntree_plot.png"><img decoding="async" class="size-large wp-image-857" src="https://paolaelefante.com/wp-content/uploads/2016/03/Ntree_plot-1024x511.png" alt="I ran randomForest, changing ntree from 100 to 20 000, with a step of 100. After ntree = 5000 the OOB error has a 0.5% oscillation, showing that computational cost is too big compared to a gain in accuracy." width="648" height="323" srcset="https://paolaelefante.com/wp-content/uploads/2016/03/Ntree_plot-1024x511.png 1024w, https://paolaelefante.com/wp-content/uploads/2016/03/Ntree_plot-300x150.png 300w, https://paolaelefante.com/wp-content/uploads/2016/03/Ntree_plot-800x399.png 800w, https://paolaelefante.com/wp-content/uploads/2016/03/Ntree_plot-1200x599.png 1200w, https://paolaelefante.com/wp-content/uploads/2016/03/Ntree_plot.png 1499w" sizes="(max-width: 648px) 100vw, 648px" /></a><figcaption id="caption-attachment-857" class="wp-caption-text">I ran randomForest, changing ntree from 100 to 20 000, with a step of 100. After ntree = 5000 the OOB error has a 0.5% oscillation, showing that computational cost is too big compared to a gain in accuracy.</figcaption></figure>
<p>Another question is: how deep should I grow a tree? This is an interesting issue. Growing a superficial tree may lead to underfitting, while a too deep tree may cause overfitting. One idea to test the optimal value is to experiment with some very deep trees and observe how the accuracy behaves on its subsets.</p>
<figure id="attachment_862" aria-describedby="caption-attachment-862" style="width: 648px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2016/03/nodesize_plot.png"><img decoding="async" class="size-large wp-image-862" src="https://paolaelefante.com/wp-content/uploads/2016/03/nodesize_plot-1024x511.png" alt="Here I experimented with nodesize = 1, 2, ..., 30 and checked the corresponding OOB error." width="648" height="323" srcset="https://paolaelefante.com/wp-content/uploads/2016/03/nodesize_plot-1024x511.png 1024w, https://paolaelefante.com/wp-content/uploads/2016/03/nodesize_plot-300x150.png 300w, https://paolaelefante.com/wp-content/uploads/2016/03/nodesize_plot-1200x599.png 1200w, https://paolaelefante.com/wp-content/uploads/2016/03/nodesize_plot-800x399.png 800w, https://paolaelefante.com/wp-content/uploads/2016/03/nodesize_plot.png 1499w" sizes="(max-width: 648px) 100vw, 648px" /></a><figcaption id="caption-attachment-862" class="wp-caption-text">Here I experimented with nodesize = 1, 2, ..., 30 and checked the corresponding OOB error. The minimum is attained at nodesize = 25. Given the oscillations, this is a less trivial choice than the number of trees, but experimenting takes less computational time.</figcaption></figure>
<p><span style="color: #808080;">The featured image was found <a style="color: #808080;" href="http://luc.devroye.org/lucsforest2008/" target="_blank">on this webpage</a>.</span></p>
<p>L'articolo <a href="https://paolaelefante.com/2016/03/a-small-guide-to-random-forest-part-2/">A small guide to Random Forest - part 2</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://paolaelefante.com/2016/03/a-small-guide-to-random-forest-part-2/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>A small guide to Random Forest - part 1</title>
		<link>https://paolaelefante.com/2016/03/random-forest-part1/</link>
					<comments>https://paolaelefante.com/2016/03/random-forest-part1/#comments</comments>
		
		<dc:creator><![CDATA[Paola Elefante]]></dc:creator>
		<pubDate>Fri, 11 Mar 2016 10:23:22 +0000</pubDate>
				<category><![CDATA[algorithms]]></category>
		<category><![CDATA[experimental math]]></category>
		<category><![CDATA[inverse problems]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[research]]></category>
		<guid isPermaLink="false">https://paolaelefante.com/?p=809</guid>

					<description><![CDATA[<p>I've recently started playing with Kaggle and got curious about one of the most famous classification/regression framework, Random Forest. In a problem of classification or regression, several random decision trees (a "forest") are built and&#8230;</p>
<p>L'articolo <a href="https://paolaelefante.com/2016/03/random-forest-part1/">A small guide to Random Forest - part 1</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I've recently started playing with Kaggle and got curious about one of the most famous classification/regression framework, <a href="https://en.wikipedia.org/wiki/Random_forest" target="_blank">Random Forest</a>. In a problem of classification or regression, several random decision trees (a "forest") are built and at the end the outputs are combined ("<em><a href="https://en.wikipedia.org/wiki/Bootstrap_aggregating" target="_blank">bagging</a></em>"). The intuition is that randomness and a meaningful quantity of trees will avoid over- and underfitting. One possible bagging technique is the majority vote. Take the case of predicting a binary outcome, say a random variable Y which can assume only values in <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_61134e14c74e988c00b65fd7785c9984.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>, with respect to some features <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_83086b608f74ceffa6b0f5764743fca1.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> (occurred events). We assume there exist a correct answer - the "right model" - which we have to predict. The intuition of the majority vote is that if such "divine truth" exists and we build several "quite reasonable" models, <em>most</em> of them will give the right prediction. If the right value is <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_70834fa19d2b7e7068b7403f87acf573.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script> and we make <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="" /></span><script type='math/tex'></script> "reasonable" predictions <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_b55ceca0bf0f99b0783951f797815152.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>, most of them will be equal to 1 and only a minority will be equal to -1. In mathematical terms, we'll choose the following prediction:</p>
<p>(1)<span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_147a753c53b4a4df52cc9675a1fc0a35.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script></p>
<p>Bagging is done in other ways, but to me the majority vote example is an easy way to understand the fundamental concept.<br />
The Random Forest framework was introduced by statistician <a href="https://en.wikipedia.org/wiki/Leo_Breiman" target="_blank">Leo Breiman</a> in 2001 in <a href="https://dx.doi.org/10.1023%2FA%3A1010933404324" target="_blank">his seminal paper</a>. Even though implementations have been released in many languages (<a href="https://cran.r-project.org/web/packages/randomForest/randomForest.pdf" target="_blank">R</a>, <a href="http://www.mathworks.com/matlabcentral/fileexchange/31036-random-forest" target="_blank">MatLab</a>, <a href="http://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html" target="_blank">Python</a>, <a href="http://java-ml.sourceforge.net/api/0.1.0/net/sf/javaml/classification/tree/RandomForest.html" target="_blank">Java</a>...), it's important to learn the basics, to be able to tune the parameters well.</p>
<h4>Decision trees</h4>
<p>The elements of a Random Forest are usually decision trees (there are variants of the framework, though). Assume we have the following database:<br />
training data =<span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_c8563dc20b23058ec69d762661f0636c.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script><br />
Each column is a sample, each row corresponds to a feature. We consider a binary output: <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_6605b7cda935a656aa7b259d8edce720.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>. We now will choose <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_9db69d5e593037ce789f9befbb30b353.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script> random features (to be able to represent the problem in the plane) and will start building a decision tree. Assume our random sample is:<br />
random sample =<span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_757dc14f0878187aadb7b774dc8da25a.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script><br />
meaning that we randomly selected the features 1 and 3. Let's represent these points on a plane, assigning a different color on the base of the associate output.</p>
<p><a href="https://paolaelefante.com/wp-content/uploads/2016/03/DecTree_firstplot.png"><img decoding="async" class="aligncenter size-large wp-image-821" src="https://paolaelefante.com/wp-content/uploads/2016/03/DecTree_firstplot-1024x511.png" alt="DecTree_firstplot" width="648" height="323" srcset="https://paolaelefante.com/wp-content/uploads/2016/03/DecTree_firstplot-1024x511.png 1024w, https://paolaelefante.com/wp-content/uploads/2016/03/DecTree_firstplot-300x150.png 300w, https://paolaelefante.com/wp-content/uploads/2016/03/DecTree_firstplot-800x399.png 800w, https://paolaelefante.com/wp-content/uploads/2016/03/DecTree_firstplot-1200x599.png 1200w, https://paolaelefante.com/wp-content/uploads/2016/03/DecTree_firstplot.png 1499w" sizes="(max-width: 648px) 100vw, 648px" /></a></p>
<p>&nbsp;</p>
<p>Notice the distribution of points in this universal region:</p>
<figure id="attachment_830" aria-describedby="caption-attachment-830" style="width: 300px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2016/03/FirstDist1.png"><img decoding="async" class="size-medium wp-image-830" src="https://paolaelefante.com/wp-content/uploads/2016/03/FirstDist1-300x150.png" alt="Frequency of output value in the universal region: red corresponds to value 0, blue to 1." width="300" height="150" srcset="https://paolaelefante.com/wp-content/uploads/2016/03/FirstDist1-300x150.png 300w, https://paolaelefante.com/wp-content/uploads/2016/03/FirstDist1-1024x511.png 1024w, https://paolaelefante.com/wp-content/uploads/2016/03/FirstDist1-800x399.png 800w, https://paolaelefante.com/wp-content/uploads/2016/03/FirstDist1-1200x599.png 1200w, https://paolaelefante.com/wp-content/uploads/2016/03/FirstDist1.png 1499w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-830" class="wp-caption-text">Frequency of output value in the universal region: red corresponds to value 0, blue to 1.</figcaption></figure>
<p>Now an hyperplane <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_8b475aba0115f67a9c0f88a51222f71d.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script> is selected (randomly or with some criteria, for instance maximising information gain) and the points are separated into two regions:</p>
<p><a href="https://paolaelefante.com/wp-content/uploads/2016/03/FirstLine.png"><img decoding="async" class="aligncenter size-large wp-image-828" src="https://paolaelefante.com/wp-content/uploads/2016/03/FirstLine-1024x511.png" alt="FirstLine" width="648" height="323" srcset="https://paolaelefante.com/wp-content/uploads/2016/03/FirstLine-1024x511.png 1024w, https://paolaelefante.com/wp-content/uploads/2016/03/FirstLine-300x150.png 300w, https://paolaelefante.com/wp-content/uploads/2016/03/FirstLine-800x399.png 800w, https://paolaelefante.com/wp-content/uploads/2016/03/FirstLine-1200x599.png 1200w, https://paolaelefante.com/wp-content/uploads/2016/03/FirstLine.png 1499w" sizes="(max-width: 648px) 100vw, 648px" /></a></p>
<p style="text-align: left;">Our decision tree starts and we have the following split and new frequency distributions in the two new regions:</p>
<p style="text-align: center;"><strong>START</strong></p>

<a href='https://paolaelefante.com/2016/03/random-forest-part1/region1_dist/'><img decoding="async" width="300" height="150" src="https://paolaelefante.com/wp-content/uploads/2016/03/Region1_Dist-300x150.png" class="attachment-medium size-medium" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2016/03/Region1_Dist-300x150.png 300w, https://paolaelefante.com/wp-content/uploads/2016/03/Region1_Dist-1024x511.png 1024w, https://paolaelefante.com/wp-content/uploads/2016/03/Region1_Dist-800x399.png 800w, https://paolaelefante.com/wp-content/uploads/2016/03/Region1_Dist-1200x599.png 1200w, https://paolaelefante.com/wp-content/uploads/2016/03/Region1_Dist.png 1499w" sizes="(max-width: 300px) 100vw, 300px" /></a>
<a href='https://paolaelefante.com/2016/03/random-forest-part1/region2_dist/'><img decoding="async" width="300" height="150" src="https://paolaelefante.com/wp-content/uploads/2016/03/Region2_dist-300x150.png" class="attachment-medium size-medium" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2016/03/Region2_dist-300x150.png 300w, https://paolaelefante.com/wp-content/uploads/2016/03/Region2_dist-1024x511.png 1024w, https://paolaelefante.com/wp-content/uploads/2016/03/Region2_dist-800x399.png 800w, https://paolaelefante.com/wp-content/uploads/2016/03/Region2_dist-1200x599.png 1200w, https://paolaelefante.com/wp-content/uploads/2016/03/Region2_dist.png 1499w" sizes="(max-width: 300px) 100vw, 300px" /></a>

<p>Now the idea is to iterate this procedure separately on each branch. For instance, we consider only Region 1 (<span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_10a6699ab786fb34e81f63a8414c0cf8.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>) and draw another hyperplane, say <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_7c7d08f807a92b34206de46693612f43.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>:</p>
<p><a href="https://paolaelefante.com/wp-content/uploads/2016/03/SecondSplit.png"><img decoding="async" class="aligncenter wp-image-834 size-large" src="https://paolaelefante.com/wp-content/uploads/2016/03/SecondSplit-1024x511.png" alt="SecondSplit" width="648" height="323" srcset="https://paolaelefante.com/wp-content/uploads/2016/03/SecondSplit-1024x511.png 1024w, https://paolaelefante.com/wp-content/uploads/2016/03/SecondSplit-300x150.png 300w, https://paolaelefante.com/wp-content/uploads/2016/03/SecondSplit-800x399.png 800w, https://paolaelefante.com/wp-content/uploads/2016/03/SecondSplit-1200x599.png 1200w, https://paolaelefante.com/wp-content/uploads/2016/03/SecondSplit.png 1499w" sizes="(max-width: 648px) 100vw, 648px" /></a></p>
<p>&nbsp;</p>
<p>On the other branch, we draw another hyperplane <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_2ffcb0d7ef633be0124c366b71242f7b.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script>:<br />
<a href="https://paolaelefante.com/wp-content/uploads/2016/03/ThirdSplit.png"><img decoding="async" class="aligncenter size-large wp-image-835" src="https://paolaelefante.com/wp-content/uploads/2016/03/ThirdSplit-1024x511.png" alt="ThirdSplit" width="648" height="323" srcset="https://paolaelefante.com/wp-content/uploads/2016/03/ThirdSplit-1024x511.png 1024w, https://paolaelefante.com/wp-content/uploads/2016/03/ThirdSplit-300x150.png 300w, https://paolaelefante.com/wp-content/uploads/2016/03/ThirdSplit-800x399.png 800w, https://paolaelefante.com/wp-content/uploads/2016/03/ThirdSplit-1200x599.png 1200w, https://paolaelefante.com/wp-content/uploads/2016/03/ThirdSplit.png 1499w" sizes="(max-width: 648px) 100vw, 648px" /></a></p>
<p>&nbsp;</p>
<p>Summing up, we built the following tree.</p>
<p>&nbsp;</p>
<p><a href="https://paolaelefante.com/wp-content/uploads/2016/03/Decision_Tree.png"><img decoding="async" class="aligncenter size-full wp-image-837" src="https://paolaelefante.com/wp-content/uploads/2016/03/Decision_Tree.png" alt="Decision_Tree" width="866" height="472" srcset="https://paolaelefante.com/wp-content/uploads/2016/03/Decision_Tree.png 866w, https://paolaelefante.com/wp-content/uploads/2016/03/Decision_Tree-300x164.png 300w, https://paolaelefante.com/wp-content/uploads/2016/03/Decision_Tree-750x410.png 750w, https://paolaelefante.com/wp-content/uploads/2016/03/Decision_Tree-800x436.png 800w" sizes="(max-width: 866px) 100vw, 866px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>At this point clearly we can stop. We divided the plane in regions which completely classify our training data.<br />
To summarise, here are the steps of Random Forest:</p>
<ol>
<li>For k = 1, 2, ..., Ntrees:<br />
--&gt; select a bootstrap sample S from training data<br />
--&gt; grow a decision tree <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_8b0f55b15c05710c97a6c3df6649d3a7.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> (with a stopping criterion for the depth)</li>
<li>Bagging on <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_07489d372d49673a93896e3eb8a19d62.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script></li>
</ol>
<p>Next, I plan to show the use of some variables and features of the randomForest R package and to make some observations on the algorithm. For instance, how to choose Ntrees? How to determine a reasonable stopping criterion for the tree depth?</p>
<p><span style="color: #808080;">The featured image is an excuse to introduce a great visualisation resource for Random Forests: <a style="color: #808080;" href="http://www.rhaensch.de/vrf.html" target="_blank">check it out</a>.</span></p>
<p>L'articolo <a href="https://paolaelefante.com/2016/03/random-forest-part1/">A small guide to Random Forest - part 1</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://paolaelefante.com/2016/03/random-forest-part1/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Open Data: CT datasets and prototypes</title>
		<link>https://paolaelefante.com/2016/02/open-data-ct-prototypes/</link>
					<comments>https://paolaelefante.com/2016/02/open-data-ct-prototypes/#respond</comments>
		
		<dc:creator><![CDATA[Paola Elefante]]></dc:creator>
		<pubDate>Mon, 22 Feb 2016 18:41:22 +0000</pubDate>
				<category><![CDATA[algorithms]]></category>
		<category><![CDATA[experimental math]]></category>
		<category><![CDATA[inverse problems]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[measurements]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[research]]></category>
		<guid isPermaLink="false">https://paolaelefante.com/?p=780</guid>

					<description><![CDATA[<p>In my research work, I often find it difficult to get datasets for X-ray CT for method validation, neither simulated and real data. Of course, there's the classic Shepp-Logan phantom, but in many cases it would&#8230;</p>
<p>L'articolo <a href="https://paolaelefante.com/2016/02/open-data-ct-prototypes/">Open Data: CT datasets and prototypes</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In my research work, I often find it difficult to get datasets for X-ray CT for method validation, neither simulated and real data. Of course, there's the classic <a href="https://en.wikipedia.org/wiki/Shepp–Logan_phantom" target="_blank">Shepp-Logan phantom</a>, but in many cases it would save a lot of work to download datasets to test one's methods. As for my knowledge, there is no broad known repository. In the image processing community there are the classical Lena, Barbara pictures, but I am not aware of similar common testing grounds in the X-ray CT one. In many cases the final goal is to apply the developed methods to a particular application case, so datasets are available from a company or a hospital repository. However, I think it would be useful to have a "middle step" and test on simpler phantoms before getting to the real deal. Many applied mathematicians often stop at this middle step, since going further would be out of scope for them. I hope this collection will be useful to others.</p>
<p>Since 3D printing is quite easy and inexpensive nowadays (can be done even in public libraries often), I used a the free software <a href="http://www.123dapp.com" target="_blank">Autodesk 123D</a> to design some 3D printable prototypes for static and dynamic CT. I am here sharing both the ready-made STL file (ready to be printed) and the 123D-project file, in case someone wants to do some personal edits. Anything can be freely use, just please quote the author and the source.</p>
<p>If you are aware of other open data repositories for CT or would like to share suggestions, feel free to comment below. I will update this post and the shared repositories in the future (<span style="color: #3366ff;">last update: Feb 22nd, 2016</span>).</p>
<h3>Static CT open data</h3>
<p><span style="color: #ff6600;">[real data]</span> <a href="http://www.fips.fi/dataset.php" target="_blank">Tomographic data of a walnut</a>: open dataset from FIPS, authors are indicated at the webpage.</p>
<p><span style="color: #ff6600;">[real data]</span> <a href="https://drive.google.com/folderview?id=0B6lIDeNkQfBwT2ZpNURGbnh0NzQ&amp;usp=sharing" target="_blank">3D printable simple phantom prototype</a>: to test contrast agents, geometry preservation of reconstruction method, how different attenuation values are reconstructed. Please quote the author (Paola Elefante) and the link to this post as a source.</p>
<p><span style="color: #ff6600;">[real data]</span> <a href="https://drive.google.com/folderview?id=0B6lIDeNkQfBwblB3N2lBNG1YOTg&amp;usp=sharing" target="_blank">3D printable blood vessels prototype</a>: to test a realistic static geometry of blood vessels splitting in capillaries. Please quote the author (Paola Elefante) and the link to this post as a source.</p>
<figure id="attachment_781" aria-describedby="caption-attachment-781" style="width: 300px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2016/02/veins_static_CT_pic.png"><img decoding="async" class="wp-image-781 size-medium" src="https://paolaelefante.com/wp-content/uploads/2016/02/veins_static_CT_pic-300x281.png" alt="veins_static_CT_pic" width="300" height="281" srcset="https://paolaelefante.com/wp-content/uploads/2016/02/veins_static_CT_pic-300x281.png 300w, https://paolaelefante.com/wp-content/uploads/2016/02/veins_static_CT_pic.png 579w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-781" class="wp-caption-text">The static CT blood vessels prototype.</figcaption></figure>
<h3>Dynamic CT open data</h3>
<p><span style="color: #ff6600;">[real data]</span> <a href="http://dir-lab.com" target="_blank">DirLab repository</a>: a open data repository, mostly for image registration researchers.</p>
<p><span style="color: #ff6600;">[real data]</span> <a href="https://drive.google.com/folderview?id=0B6lIDeNkQfBwNjlQM1lpdzVTMTQ&amp;usp=sharing" target="_blank">3D printable dynamic blood vessels prototype</a>:  to test a realistic dynamic simulation of blood or fluid flowing. In the featured picture you can spot an old version of this prototype. I made some major edits in the design, but I still did not test it. Please quote the author (Paola Elefante) and the link to this post as a source.</p>
<figure id="attachment_786" aria-describedby="caption-attachment-786" style="width: 252px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2016/02/dyn_blood_vessels.png"><img decoding="async" class="size-medium wp-image-786" src="https://paolaelefante.com/wp-content/uploads/2016/02/dyn_blood_vessels-252x300.png" alt="Design of the prototype for 2D dynamic CT." width="252" height="300" srcset="https://paolaelefante.com/wp-content/uploads/2016/02/dyn_blood_vessels-252x300.png 252w, https://paolaelefante.com/wp-content/uploads/2016/02/dyn_blood_vessels.png 552w" sizes="(max-width: 252px) 100vw, 252px" /></a><figcaption id="caption-attachment-786" class="wp-caption-text">Design of the prototype for 2D dynamic CT.</figcaption></figure>
<p><span style="color: #3366ff;">[simulated data]</span> <a href="https://drive.google.com/folderview?id=0B6lIDeNkQfBwY3dXOTV1NWN5YXM&amp;usp=sharing" target="_blank">2D dynamic "Y-phantom"</a>: a binary phantom where meaningful topological changes happen, good for interface detection methods (level-set, etc.).</p>
<p>L'articolo <a href="https://paolaelefante.com/2016/02/open-data-ct-prototypes/">Open Data: CT datasets and prototypes</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://paolaelefante.com/2016/02/open-data-ct-prototypes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Live from Inverse Days 2015: baby on board</title>
		<link>https://paolaelefante.com/2015/12/live-from-inverse-days-2015-baby-on-board/</link>
					<comments>https://paolaelefante.com/2015/12/live-from-inverse-days-2015-baby-on-board/#respond</comments>
		
		<dc:creator><![CDATA[Paola Elefante]]></dc:creator>
		<pubDate>Wed, 09 Dec 2015 13:39:07 +0000</pubDate>
				<category><![CDATA[events]]></category>
		<category><![CDATA[experimental math]]></category>
		<category><![CDATA[inverse problems]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[people]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[talks]]></category>
		<category><![CDATA[womens rights]]></category>
		<guid isPermaLink="false">https://paolaelefante.com/?p=743</guid>

					<description><![CDATA[<p>This week I did something a little crazy, dictated by necessity: I took my 2 year old girl to a conference, namely the Inverse Days in Lappeenranta. We drove from Espoo (bad idea) on Monday&#8230;</p>
<p>L'articolo <a href="https://paolaelefante.com/2015/12/live-from-inverse-days-2015-baby-on-board/">Live from Inverse Days 2015: baby on board</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This week I did something a little crazy, dictated by necessity: I took my 2 year old girl to a conference, namely the <a href="http://www.mafy.lut.fi/inversedays2015/index.php?page=schedule" target="_blank">Inverse Days</a> in Lappeenranta. We drove from Espoo (bad idea) on Monday evening and will stay until Thursday, cutting at half day to get home not too late.</p>
<p>Baby-wise it went much better than I expected: she played, slept and watched cartoon and I was able to listen to almost all talks. I could even present my own during her afternoon nap (<a href="https://paolaelefante.com/publications-talks/" target="_blank">slides to be found here</a>).</p>
<p>Science-wise, I heard about many interesting projects. Inverse Days is the annual meeting of the Inverse Problems research community in Finland. Since it's a great chance to get to know all ongoing projects in Finland, there are often guests from abroad as well. Since 2010, I have been missing only one meeting, because of my parental leave. The dominant theme this year has been EIT, on which many groups in Finland are working at the moment.</p>
<p>For me, the highlight has been a nice presentation by <a href="http://www.dtu.dk/english/Service/Phonebook/Person?id=102605&amp;tab=0" target="_blank">Lauri Harhanen</a> from <a href="http://www.dtu.dk" target="_blank">DTU</a>. He started last May in the huge ongoing project <a href="http://www2.compute.dtu.dk/~pcha/HDtomo/" target="_blank">HD-Tomo</a> and he's working on an interesting optimization of gradient descent minimization methods, based on physical modelling of material a priori information in CT. When I will upgrade to real data, this could be a fruitful improvement of my framework.</p>
<p>During the conference, we also had the second meeting of Women in Inverse Problems, a small network started one year ago. We agreed that it would be nice to have some statistics (local or nation-wide) on presence of women in mathematics, and investigate on reasons why the disproportion is created. Let's hope we can follow up on this idea. At the moment our most active action is a small mailing list, where we share interesting events or discussion topics (drop me an email if you want to join, since it's closed).</p>
<p>It's been nice to be at Inverse Days once again and I also realised that this was my first talk at this event. See you soon, Lappeenranta!</p>
<figure id="attachment_746" aria-describedby="caption-attachment-746" style="width: 300px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2015/12/20151209052627.jpg"><img decoding="async" class="size-medium wp-image-746" src="https://paolaelefante.com/wp-content/uploads/2015/12/20151209052627-300x225.jpg" alt="Cutest attendee ever." width="300" height="225" srcset="https://paolaelefante.com/wp-content/uploads/2015/12/20151209052627-300x225.jpg 300w, https://paolaelefante.com/wp-content/uploads/2015/12/20151209052627-1024x768.jpg 1024w, https://paolaelefante.com/wp-content/uploads/2015/12/20151209052627-800x600.jpg 800w, https://paolaelefante.com/wp-content/uploads/2015/12/20151209052627-1200x900-cropped.jpg 1200w, https://paolaelefante.com/wp-content/uploads/2015/12/20151209052627.jpg 1600w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-746" class="wp-caption-text">Cutest attendee ever.</figcaption></figure>
<p>L'articolo <a href="https://paolaelefante.com/2015/12/live-from-inverse-days-2015-baby-on-board/">Live from Inverse Days 2015: baby on board</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://paolaelefante.com/2015/12/live-from-inverse-days-2015-baby-on-board/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Mathematicians Go Hollywood</title>
		<link>https://paolaelefante.com/2015/11/level-set-methods/</link>
					<comments>https://paolaelefante.com/2015/11/level-set-methods/#respond</comments>
		
		<dc:creator><![CDATA[Paola Elefante]]></dc:creator>
		<pubDate>Fri, 27 Nov 2015 07:31:57 +0000</pubDate>
				<category><![CDATA[algorithms]]></category>
		<category><![CDATA[experimental math]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[talks]]></category>
		<guid isPermaLink="false">https://paolaelefante.com/?p=705</guid>

					<description><![CDATA[<p>Did you know that in 2008 a mathematician won an Academy Award? Do you know how to model realistic hair for animation movies or a bomb deflagrating for an action movie? Or you simply need&#8230;</p>
<p>L'articolo <a href="https://paolaelefante.com/2015/11/level-set-methods/">Mathematicians Go Hollywood</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Did you know that in 2008 a mathematician won an Academy Award? Do you know how to model realistic hair for animation movies or a bomb deflagrating for an action movie? Or you simply need some effective active contour segmentation method? All these questions have in common an effective, yet intuitive, mathematical framework: level set methods. I came to know them through my own X-ray tomography research project, which gives you a hint of how wide and inclusive such methods are. Yesterday I gave an introductory and informal talk at the Students' Seminar about them. This post comes as an integration to the slides that you may download <a href="https://paolaelefante.com/publications-talks/" target="_blank">from this page</a>.</p>
<p>Let's start from defining what an <strong>interface</strong> is. I could not find a rigorous definition, but the concept is very intuitive. It is a "boundary" which clearly splits the space in two subsets ("inside" and "outside"). You can imagine a closed (even self-intersecting) curve on the plane, for instance. Or the surface of a ball or a torus in <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_a6bcd1eddcf2923b077bd5e08d5731c6.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>. From now on, let's work with planar interfaces, for better visual intuition. However, everything I will discuss here can be extended to any <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_cf048f74f71721abd7b8df49453d1310.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>. Now, imagine we are working with a dynamic interface, meaning that our closed curve, for instance, changes in time.</p>
<figure id="attachment_708" aria-describedby="caption-attachment-708" style="width: 719px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2015/11/Screen-Shot-2015-11-27-at-08.18.36.png"><img decoding="async" class="wp-image-708 size-full" src="https://paolaelefante.com/wp-content/uploads/2015/11/Screen-Shot-2015-11-27-at-08.18.36.png" alt="Dynamic_interface" width="719" height="431" srcset="https://paolaelefante.com/wp-content/uploads/2015/11/Screen-Shot-2015-11-27-at-08.18.36.png 719w, https://paolaelefante.com/wp-content/uploads/2015/11/Screen-Shot-2015-11-27-at-08.18.36-300x180.png 300w" sizes="(max-width: 719px) 100vw, 719px" /></a><figcaption id="caption-attachment-708" class="wp-caption-text">Representation of our dynamic interface: the red arrows represent the velocity field, which gives information of how the curve will change.</figcaption></figure>
<p>Rigorously speaking, we are given an initial curve, <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_2d8ea12a026b1282821301d4c92ed22c.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> and a velocity field <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_9dc831dad0881dd0104c37dfda3ba5e7.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> which we assume is normal to the curve at any instant <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_e358efa489f58062f10dd7316b65649e.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script>. We would like to determine and parametrise the evolution of the curve, that is <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_6bb2c16cdf85300ca8a969befcc246c3.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>. One intuitive idea is the following: let's choose some ordered points on our curve <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_0adf693cefecc59bc727e3a0762c10d4.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> (Fig. A), let's follow their evolution (<span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_fb16e3e3f18c15edc61e1f2c0fa972ba.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="" /></span><script type='math/tex'></script> will tell us where they are going) and let's complete the curve between any subsequent points <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_7f57ce5c29b329529f4e3f9a3765b114.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> and <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_39020092eda15822927af91de857b0cb.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> by interpolation. However, it may happen that our curve will split under the action of <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_fb16e3e3f18c15edc61e1f2c0fa972ba.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="" /></span><script type='math/tex'></script> and Fig. B shows how our method would fail, because we told our algorithm to connect <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_20868fa29dfc38ac154b8ef762766b41.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> with <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_2d70da379b3ffb56bd104b348ba21c55.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> and <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_7f57ce5c29b329529f4e3f9a3765b114.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> with <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_39020092eda15822927af91de857b0cb.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>.</p>

<a href='https://paolaelefante.com/2015/11/level-set-methods/screen-shot-2015-11-27-at-08-27-32/'><img decoding="async" width="527" height="297" src="https://paolaelefante.com/wp-content/uploads/2015/11/Screen-Shot-2015-11-27-at-08.27.32.png" class="attachment-full size-full" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/11/Screen-Shot-2015-11-27-at-08.27.32.png 527w, https://paolaelefante.com/wp-content/uploads/2015/11/Screen-Shot-2015-11-27-at-08.27.32-300x169.png 300w" sizes="(max-width: 527px) 100vw, 527px" /></a>
<a href='https://paolaelefante.com/2015/11/level-set-methods/screen-shot-2015-11-27-at-08-27-47/'><img decoding="async" width="627" height="319" src="https://paolaelefante.com/wp-content/uploads/2015/11/Screen-Shot-2015-11-27-at-08.27.47.png" class="attachment-full size-full" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/11/Screen-Shot-2015-11-27-at-08.27.47.png 627w, https://paolaelefante.com/wp-content/uploads/2015/11/Screen-Shot-2015-11-27-at-08.27.47-300x153.png 300w" sizes="(max-width: 627px) 100vw, 627px" /></a>

<p>How could we explain to our algorithms when the curve splits or merges? It's hard, especially since we are searching for a general method. This is where level set methods come to the rescue.</p>
<p>The idea is very intuitive: what if we would add one extra-dimension (time) and "record" the evolution with a surface? For instance, if our curve is a disc expanding, one candidate surface could be a truncated cone. If our disc would evolve in a "8-shape" and then split, one candidate surface would be some sort of 3-dimensional "Y". In other words, we are looking for a function <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_48f70263c8e4d01e698f9d992fd3978c.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> such that:</p>
<p><span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_35a072a3c2d619f2bfbbe5c2684b9069.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script></p>
<p>Here I denote the "inside" region at the time <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_e358efa489f58062f10dd7316b65649e.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script> by <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_3b59c29c58b6c2e8549037e1100b5354.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>. At any time, the zero level set of <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_1ed346930917426bc46d41e22cc525ec.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> will detect the interface. In addition, its sign will detect the inside and outside regions. Now, observe that from the previous equation:</p>
<p><span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_9fc64c470c83539a0db61b93f4f1704b.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script></p>
<p>By applying the chain rule, we get <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_1bd1d219c288a6aec397d4c1a82c266d.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>. We assumed that our velocity field was orthogonal to the interface at any instant. In other words,</p>
<p><span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_2b80090eb9468130824870d7ebf06e79.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>.</p>
<p>Hence, we can write the following evolution equation:</p>
<p><span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_611595f4f0124ce0407337a7f0193a5f.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>.</p>
<p>This, in addition to the given initial condition <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_2d8ea12a026b1282821301d4c92ed22c.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>, will define <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_1ed346930917426bc46d41e22cc525ec.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> and consequently the interface at any time. Suddenly we are in front of a PDE problem, for which there are many well-developed theoretical and numerical tools. Also, this approach handles perfectly topological changes, such as splitting and merging. Plus, it makes it really easy to compute geometric quantities as the curvature of the interface (simply differentiate <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_1ed346930917426bc46d41e22cc525ec.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>).</p>
<p>This new framework was introduced in 1987 by <a href="http://www.math.ucla.edu/~sjo/" target="_blank">Stanley Osher</a> and <a href="https://math.berkeley.edu/people/faculty/james-sethian" target="_blank">James Sethian</a>. Since then, it has been a thriving topic of research: just know that <a href="https://math.berkeley.edu/~sethian/Papers/sethian.osher.88.pdf" target="_blank">their seminal paper</a> to date has been cited more than 11 500 times! Level set methods have been applied to an incredible variety of problems and settings: medical imaging, computer vision, image denoising, active contour segmentation, scattering, obstacle detection, and more. It has been widely explored both theoretically and numerically. One its richest areas of application is computer graphics. One of Osher's students, <a href="http://physbam.stanford.edu/~fedkiw/" target="_blank">Ron Fedkiw</a>, now full professor at Stanford,<a href="http://abc7news.com/entertainment/stanford-professor-wins-oscar-for-science-of-destroying-things/527926/" target="_blank"> won an Academy Scientific and Technical Award</a> in 2008. Fedkiw is a consultant for <a href="http://www.ilm.com" target="_blank">Industrial Light and Magic</a>, a big name in the special effects industry. He worked on blockbusters as <a href="https://youtu.be/b2QX9FNWvww" target="_blank">Terminator III</a>, Star Wars Episode III, the Pirates of the Caribbean's saga and some Harry Potter movies. Level set methods are widely used in fluid, fire, hair simulations in animation movies. Think of water, with all his splashes (=topological changes): this framework works very well. One drawback is that this approach does not conserve some physical quantities as the volume. However, there are nowadays many tricks to work around this. For instance, there are hybrid methods that mix level set and volume tracking methods or sometime rendering techniques that fill up for the missing physical properties. You can see many animations at the <a href="http://physbam.stanford.edu" target="_blank">PhysBAM project page</a>.</p>
<p>If you got curios, I include a selection of references:</p>
<p>Osher – Paragios, “Geometric Level Set Methods in Imaging, Vision and Graphics”, Springer 2003.</p>
<p>Osher – Fedkiw, “Level Set Methods and Dynamic Implicit Surfaces”, Springer 2003.</p>
<p>Links:</p>
<p><a href="http://step.polymtl.ca/~rv101/levelset/%20explanations">http://</a><a href="http://step.polymtl.ca/~rv101/levelset/%20explanations">step.polymtl.ca</a><a href="http://step.polymtl.ca/~rv101/levelset/%20explanations">/~rv101/</a><a href="http://step.polymtl.ca/~rv101/levelset/%20explanations">levelset</a><a href="http://step.polymtl.ca/~rv101/levelset/%20explanations">/ </a><a href="http://step.polymtl.ca/~rv101/levelset/%20explanations">explanations </a></p>
<p><a href="http://www.ams.org/notices/201005/rtx100500614p.pdf">http://www.ams.org/notices/201005/</a><a href="http://www.ams.org/notices/201005/rtx100500614p.pdf">rtx100500614p.pdf</a></p>
<p><a href="http://physbam.stanford.edu/~fedkiw/papers/stanford2003-04.pdf">http://physbam.stanford.edu/~fedkiw/papers/stanford2003-04.pdf</a></p>
<p>L'articolo <a href="https://paolaelefante.com/2015/11/level-set-methods/">Mathematicians Go Hollywood</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://paolaelefante.com/2015/11/level-set-methods/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Coding coding coding</title>
		<link>https://paolaelefante.com/2015/10/coding-coding-coding/</link>
					<comments>https://paolaelefante.com/2015/10/coding-coding-coding/#comments</comments>
		
		<dc:creator><![CDATA[Paola Elefante]]></dc:creator>
		<pubDate>Thu, 08 Oct 2015 06:54:22 +0000</pubDate>
				<category><![CDATA[algorithms]]></category>
		<category><![CDATA[experimental math]]></category>
		<category><![CDATA[inverse problems]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[research]]></category>
		<guid isPermaLink="false">https://paolaelefante.com/?p=653</guid>

					<description><![CDATA[<p>Despite the confusing title, in the past days I have been coding. A lot. Even though I am dying to leak information about what exactly I am working on, I still need to wait few weeks&#8230;</p>
<p>L'articolo <a href="https://paolaelefante.com/2015/10/coding-coding-coding/">Coding coding coding</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Despite the confusing title, in the past days I have been coding. A lot. Even though I am dying to leak information about what exactly I am working on, I still need to wait few weeks to reveal.</p>
<p>I thought anyway to write something about programming from the perspective of an applied mathematician. Research forces you to be humble, since failures - ideas that will not work, rejected papers, etc. - are definitely more frequent than achievements, especially for a junior researcher as myself. Coding has the special power - called debugging - to finish crushing your self-esteem.</p>
<p>However, programming is a skill that most mathematicians should have. A lot of current job positions - academic and not - require some programming skills and they can be useful also in teaching. The most popular coding tool among mathematicians - also in many industries - is <a href="http://se.mathworks.com/products/matlab/" target="_blank">MatLab</a>. Its name comes from "<strong>Mat</strong>rix <strong>Lab</strong>oratory" since all its variables are considered arrays. It is a fourth-generation programming language, that means it is very user-friendly. MatLab is currently <em>the</em> tool from numerical computing. The fact that it is so popular, make it easier for the n00b user to learn it, since many online resources are available. For instance, every time I get an error I cannot understand, I google it and it never occurred that someone did not ask the same question before on the <a href="http://se.mathworks.com/matlabcentral/?s_tid=gn_mlc_logo" target="_blank">MathWorks forum</a>.</p>
<p>Let me open a small parenthesis of life coaching right here. For "softcore programmers" like myself and most mathematicians, it is very important to adopt the most mainstream programming tools. Do <em>not</em> take any advice from computer scientists regarding this choice (*). <a href="http://insights.dice.com/2014/10/09/5-programming-languages-marked-for-death/" target="_blank">This article</a> showing booming languages that miserably died can explain. You need to choose a language that:</p>
<ul>
<li>it's easy to learn, user-friendly and not bond to die soon,</li>
<li>it's widely used, that means there's plenty of debugging and learning resources online,</li>
<li>other mathematicians use or can easily understand.</li>
</ul>
<p>Going back to MatLab,... When I think of it, I remember of one inscription carved in my <a href="http://www.unibo.it/en" target="_blank">home university</a> elevator, "I hate MatLab" (true story). We all do, mate. It's a love-hate relationship. Anyway, MatLab can be a powerful tool for learning, teaching and researching.</p>
<p>License is expensive but education institutions get great discounts. If you plan to self-learn it, I suggest to start from the <a href="http://se.mathworks.com/academia/student_center/tutorials/launchpad.html" target="_blank">official tutorials</a>. Your best tools will then be Google, the MathWorks forum and the function "help" (to know what that is, type "help help" in the command window). Many universities offer MatLab basic courses (sometime embedded in Numerical Analysis courses). You can find also some online courses, for instance <a href="https://www.youtube.com/user/MIT" target="_blank">one by MIT </a>or <a href="https://www.coursera.org/course/matlab" target="_blank">one in Coursera</a>.</p>
<p>MatLab can be frustrating, but luckily software engineers included some funny easter eggs. Try typing "<em>why</em>" in the command window. I got the following answers so far:</p>
<blockquote>
<pre>&gt;&gt; why
Because Nausheen obeyed some terrified young not excessively terrified engineer.
&gt;&gt; why
Because the hamster obeyed a bald mathematician.
&gt;&gt; why
Because he told me to.
&gt;&gt; why
Because he insisted on it.
&gt;&gt; why
They suggested it.
&gt;&gt; why
You wanted it that way.
&gt;&gt; why
The devil made me do it.
&gt;&gt; why
Some good and good and young and rich system manager wanted it that way.
&gt;&gt; why
Joe wanted it that way.
&gt;&gt; why
Cleve wanted it.</pre>
</blockquote>
<p>If you type "<em>life</em>", a simulation of <a href="https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life" target="_blank">Conway's Game of Life</a> appears in a new window.</p>
<p>As far as I know, the most popular programming languages for mathematicians nowadays are: <a href="http://se.mathworks.com/products/matlab/" target="_blank">MatLab</a>, <a href="https://www.r-project.org/about.html" target="_blank">R</a>, <a href="https://en.wikipedia.org/wiki/C_(programming_language)" target="_blank">C</a>, <a href="https://en.wikipedia.org/wiki/C%2B%2B" target="_blank">C++</a>, <a href="https://www.wolfram.com/mathematica/" target="_blank">Mathematica</a> (**). I warmly suggest to any mathematics student (postgrad included) to attend <em>at least</em> one course of general programme design and a course on one of those languages. In programming, motivation is essential, so I suggest to the same students to pick a problem in your favourite area and learn to programme with the final purpose to code a solver for that problem (general or for particular cases). I had a lot of fun when I learned C because the final project was making a Sudoku universal solver.</p>
<p>Now back to work. Hopefully I'll have some interesting contents to share about my codes soon. I wish you no bugs this week!</p>
<p><span style="color: #808080;">(*) To be politically correct, let me stress that this would be equally fool as to ask a mathematician for a trick to multiply numbers in your head. They would prove the most general case: "Here, now you can <em>easily</em> multiply numbers, regardless of how you define your product operation or the ring you are in. You're welcome!".</span></p>
<p><span style="color: #808080;">(**) <a style="color: #808080;" href="http://www.wolfram.com" target="_blank">Wolfram</a> made available a light online free version of Mathematica called <a style="color: #808080;" href="http://www.wolframalpha.com" target="_blank">Wolfram Alpha</a>. It works perfectly if you have basic needs, like plotting something or checking an integral.</span></p>
<p>L'articolo <a href="https://paolaelefante.com/2015/10/coding-coding-coding/">Coding coding coding</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://paolaelefante.com/2015/10/coding-coding-coding/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Tweeting for Real Scientists: aftermath.</title>
		<link>https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/</link>
					<comments>https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/#comments</comments>
		
		<dc:creator><![CDATA[Paola Elefante]]></dc:creator>
		<pubDate>Mon, 14 Sep 2015 17:31:01 +0000</pubDate>
				<category><![CDATA[communication]]></category>
		<category><![CDATA[experimental math]]></category>
		<category><![CDATA[inverse problems]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[medical imaging]]></category>
		<category><![CDATA[people]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[teaching]]></category>
		<category><![CDATA[womens rights]]></category>
		<guid isPermaLink="false">https://paolaelefante.com/?p=546</guid>

					<description><![CDATA[<p>My week as curator of the Twitter channel @realscientists has just ended. It was refreshing and a lot of fun. I had the chance to review my own work from a fresh perspective and to check&#8230;</p>
<p>L'articolo <a href="https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/">Tweeting for Real Scientists: aftermath.</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>My week as curator of the Twitter channel <a href="http://www.twitter.com/realscientists" target="_blank">@realscientists</a> has just ended. It was refreshing and a lot of fun. I had the chance to review my own work from a fresh perspective and to check out old problems I didn't read about for a while. For those who don't know what Real Scientists is, I will explain. It's a Twitter channel that is curated by a different scientist/researcher/science communicator each week. It's a brilliant way to put general public and other researchers in direct contact with science research fields. After all, it's the taxpayers who fund most of our work, so we own it to them to explain what we do, don't we?</p>
<p>During the week I shared many images, slides, topics. I decided to collect them all, so that they do not get lost in the feed and may turn up useful for myself or someone else in the future. I will not write complete explanations, it will be more of a list of resources. Feel free to use whatever, but please be polite and quote the source (I will indicate the author or the original website for everything).</p>
<h3>Mathematics and its applications</h3>
<h4>X-ray tomography</h4>
<p>X-ray tomography is my area of research (see <a href="https://paolaelefante.com/2015/06/4d-tomography-walkthrough-of-my-project-part-1/" target="_blank">here</a> for details about my current project). Here some resources:</p>
<ul>
<li>Wikipedia page on X-ray tomography</li>
<li>X-ray tomography used in archeology: <a href="http://t.co/EFv2kSmAoX" target="_blank">mummies</a> and <a href="http://t.co/3fkh3o39WP" target="_blank">lost letters</a>.</li>
<li>Wikipedia pages on <a href="https://t.co/PLM7LIjxNu" target="_blank">J. Radon</a> and <a href="https://t.co/PLM7LIjxNu" target="_blank">Radon transform</a>.</li>
<li><a href="http://www.vt-cube.com" target="_blank">VT-cube</a>, a device that reduces X-ray irradiation in dental imaging.</li>
<li><a href="https://t.co/UugWo9BeIx" target="_blank">Denoysing 4D cardiac tomography images</a>.</li>
<li><a href="http://t.co/S3lhp1w8ew" target="_blank">Lecture notes on tomography</a>.</li>
<li><a href="https://t.co/rNuqMuB9el" target="_blank">How tomographic data is collected</a>.</li>
<li><a href="https://t.co/jTNXRt1xdN" target="_blank">Reference: Smith et al. 1977</a>. "A finite set of radiographs tells nothing at all".</li>
<li><a href="http://t.co/L0S9G7cKGz" target="_blank">Compare FBP with other reconstruction algorithms for sparse data</a>.</li>
<li>An application of dynamic CT: <a href="https://t.co/sTFGs3jRwn" target="_blank">coronary angiography</a>. About<a href="http://t.co/zaGuYBwxlg" target="_blank"> 10 million tests</a> carried every year in US.</li>
<li><a href="http://t.co/O8fdgfNsdr" target="_blank">Another research group working in dynamic CT</a>.</li>
<li><a href="http://t.co/VLfJY6NaL9" target="_blank">Public CT real dataset </a>by University of Helsinki.</li>
</ul>
<h4>Other Inverse Problems</h4>
<p><a href="https://t.co/W7P9UuNtET" target="_blank">Wikipedia page on Inverse Problems</a>.</p>
<p><em>Image enhancement and inpainting</em>.</p>
<figure id="attachment_566" aria-describedby="caption-attachment-566" style="width: 436px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2015/09/CONt_GRUcAAKNhp.jpg"><img decoding="async" class="size-full wp-image-566" src="https://paolaelefante.com/wp-content/uploads/2015/09/CONt_GRUcAAKNhp.jpg" alt="Example of inpainting. Source: http://www.damtp.cam.ac.uk/user/cbs31/Home.html" width="436" height="125" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/CONt_GRUcAAKNhp.jpg 436w, https://paolaelefante.com/wp-content/uploads/2015/09/CONt_GRUcAAKNhp-300x86.jpg 300w" sizes="(max-width: 436px) 100vw, 436px" /></a><figcaption id="caption-attachment-566" class="wp-caption-text">Example of inpainting. Source: http://www.damtp.cam.ac.uk/user/cbs31/Home.html</figcaption></figure>
<ul>
<li><a href="https://en.wikipedia.org/wiki/Inpainting" target="_blank">Inpainting Wikipedia page</a>.</li>
<li><a href="http://t.co/k4X6knIWNR" target="_blank">Image restoration: deblurring &amp; co</a>.</li>
<li><a href="https://t.co/m9SrwFzKLw" target="_blank">Our group will soon start working in image enhancement</a>.</li>
</ul>
<p><em>Invisibility cloak</em>. How Harry Potter meets mathematics: <a href="https://t.co/MfTxoAcIc6" target="_blank">link 1</a>, <a href="https://t.co/e1ruQ7mznU" target="_blank">link 2</a>.</p>
<p><em>Creating synthetic voice</em>. I talked about this problem <a href="http://t.co/XzecEa2EQ3" target="_blank">here</a>. A <a href="https://t.co/unDpuWOQSB" target="_blank">video</a> where my advisor explains the project. <a href="http://t.co/lu436Crcpu" target="_blank">His slides</a>: I love this talk, every time it has great success. Speech problems affect many people, <a href="http://t.co/Clw6v3czGn" target="_blank">6 to 8 millions in US only</a>.</p>
<figure id="attachment_611" aria-describedby="caption-attachment-611" style="width: 300px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2015/09/COhLs1SWgAA_7a3.png"><img decoding="async" class="size-medium wp-image-611" src="https://paolaelefante.com/wp-content/uploads/2015/09/COhLs1SWgAA_7a3-300x206.png" alt="3D printed models of glottal shape for vowels. Source: University of Helsinki." width="300" height="206" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COhLs1SWgAA_7a3-300x206.png 300w, https://paolaelefante.com/wp-content/uploads/2015/09/COhLs1SWgAA_7a3.png 599w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-611" class="wp-caption-text">3D printed models of glottal shape for vowels. Source: University of Helsinki.</figcaption></figure>
<p><em>Seismic tomography</em>. Seismic tomography exploits seismic wave and advanced topology to infere about the inner structure of our planet.</p>
<figure id="attachment_568" aria-describedby="caption-attachment-568" style="width: 298px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2015/09/COOX4BGWcAA0ldz.jpg"><img decoding="async" class="wp-image-568 size-medium" src="https://paolaelefante.com/wp-content/uploads/2015/09/COOX4BGWcAA0ldz-298x300.jpg" alt="Seismic tomography. Source: http://www.mantleplumes.org/Seismology.html" width="298" height="300" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COOX4BGWcAA0ldz-298x300.jpg 298w, https://paolaelefante.com/wp-content/uploads/2015/09/COOX4BGWcAA0ldz-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COOX4BGWcAA0ldz-60x60.jpg 60w, https://paolaelefante.com/wp-content/uploads/2015/09/COOX4BGWcAA0ldz.jpg 599w" sizes="(max-width: 298px) 100vw, 298px" /></a><figcaption id="caption-attachment-568" class="wp-caption-text">Seismic tomography. Source: http://www.mantleplumes.org/Seismology.html</figcaption></figure>
<ul>
<li><a href="https://t.co/r2RFLimCWw" target="_blank">Wikipedia page on seismic tomography</a>.</li>
<li><a href="http://www.rni.helsinki.fi/~mjl/index.html" target="_blank">Our research in seismic tomography</a>.</li>
</ul>
<p><em>Electrical Impedance Tomography</em>. EIT is a widely used medical imaging technique, employed especially in breathing monitoring.</p>
<ul>
<li><a href="https://en.wikipedia.org/wiki/Electrical_impedance_tomography" target="_blank">Wikipedia page on EIT</a>.</li>
<li><a href="http://t.co/C3M77TJVK3" target="_blank">Our group's research on EIT</a>.</li>
</ul>
<p><em>Gravitational Lensing</em>. <a href="http://t.co/C3M77TJVK3" target="_blank">Wikipedia page</a>: measuring space bodies' properties from their interaction with remote light.</p>
<p><em>Forest monitoring</em>. The Tampere Inverse Problems group uses inverse problems techniques to monitor and model forests, contributing to fire prevention and paper industry estimations: <a href="https://t.co/5ZGRH6UnGT" target="_blank">video</a>.</p>
<h4>Other applications</h4>
<p>(see also Computer Science section)</p>
<p><em>Cryptography</em>. Internet transactions require sensible information to be properly masked. For instance, when you buy online with your credit card, data transmission is protected by cryptography techniques (ex. RSA). Here some links:</p>
<ul>
<li>RSA Wikipedia page.</li>
<li><a href="http://t.co/c7Y6AYunbQ" target="_blank">Prime numbers are fundamental for RSA</a>.</li>
<li><a href="https://t.co/4Cu4PMnsgZ" target="_blank">The standard protocol SSL uses RSA</a>.</li>
</ul>
<p><em>Big Data</em>. <a href="https://t.co/JvZqtymm92" target="_blank">Wikipedia page on Big Data</a>.</p>
<p><em>Rollercoaster engineering</em>. Rollercoaster loops are designed according to a mathematical curve called Euler spiral, to maximise the fun and minimise nausea. Euler spiral can be found also in highways, to make turning at high speed safer.</p>
<p><em>Biomathematics</em>. A fun example of biomathematics modelling can be found in <a href="https://t.co/r2f3Mz1xG2" target="_blank">this zombie scenario paper</a>. Biomathematics had a <a href="https://t.co/YwM5dRH3dZ" target="_blank">big role</a> in containing the Ebola infection.</p>

<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/coukei3ukaa-w_o/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COUkEI3UkAA-w_o-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COUkEI3UkAA-w_o-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COUkEI3UkAA-w_o-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/coukd9au8aaogpp/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COUkD9AU8AAogPp-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COUkD9AU8AAogPp-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COUkD9AU8AAogPp-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>

<p><em>Finance</em>. <a href="http://t.co/dO2pELwwcd" target="_blank">Likely the person dealing with your investments is a mathematician</a>. Here <a href="https://t.co/3YiBNmyS8D" target="_blank">a Wikipedia page</a>.</p>
<h3>Computer Science</h3>
<ul>
<li>Mathematics in Google algorithms: <a href="http://t.co/SZlkyCw4bb" target="_blank">article on The Guardian</a>.</li>
<li><a href="https://t.co/U4XQpnSw1l" target="_blank">Mathematics in animation movies</a>.</li>
<li>P=NP problem:<a href="http://t.co/Lb4lRl31Ah" target="_blank"> link 1</a>,<a href="https://t.co/oMZU9bS7IP" target="_blank"> a simple explanation</a>, <a href="http://t.co/b7JXogwlWG" target="_blank">an article on New Yorker</a>,</li>
</ul>
<h3>Women in Mathematics</h3>
<ul>
<li>The <a href="https://t.co/OBRHolUGxh" target="_blank">Fields Medal</a> was<a href="http://t.co/yNvliUH2nT" target="_blank"> won by a woman for the first time</a> in 2014.</li>
<li><a href="http://t.co/MFa9mNZJRP" target="_blank">Agora</a>, a movie about a female mathematician of antiquity, Hypatia.</li>
<li><a href="https://t.co/8RSSICtZtZ" target="_blank">University of Nottingham playlist on women in mathematics</a>.</li>
<li><a href="https://t.co/OYme5Gbtbv" target="_blank">How to propose to a mathematician</a>.</li>
<li>Sofia Kovalevskaya. My <a href="http://t.co/PoxRgF5hys" target="_blank">post on her</a>, Google's dedicate Doodle, <a href="http://t.co/TPAFnoHEYy" target="_blank">a movie on her life</a>.</li>
<li><a href="http://t.co/JPOjf98GEU" target="_blank">Book on Minorities in Mathematics</a>.</li>
<li><a href="http://t.co/4SJ4WlRDOq" target="_blank">TV series: The Bletchey Circle</a>.</li>
<li><a href="https://t.co/ch0E6hD95b" target="_blank">Sophie Germain</a>, who studied with Lagrange.</li>
<li><a href="https://t.co/uBmoao48Ol" target="_blank">How gender stereotypes affect mathematics skills at early age</a>.</li>
<li>[not only about women] Childcare at conferences: <a href="https://t.co/SEiUpbFWLf" target="_blank">a post on Tenure She Wrote</a>, <a href="http://t.co/WOn39j4wHQ" target="_blank">my vision</a>, <a href="http://t.co/HAfaLDcsm8" target="_blank">Geoscience conference</a> that provides it, some family care grants: <a href="http://t.co/4b46tj9uls" target="_blank">LMS</a> - UK, <a href="http://t.co/1Qxex1Zqhu" target="_blank">Franklin Women</a>, <a href="https://t.co/GTNBrpCY99" target="_blank">SMBE</a>, <a href="http://t.co/XjM7lJBcNN" target="_blank">AustMS</a>.</li>
<li>Representation of women in mathematics at conference:<a href="http://t.co/iyCERi13Aq" target="_blank"> a practical guide</a>.</li>
<li><a href="http://t.co/7qqUVkiRG7" target="_blank">Some links</a> on women in STEM.</li>
<li><a href="https://t.co/Qv0F9Fd6Tz" target="_blank">Emmy Noether</a>, allowed to work (for free or under a male colleague's name!) in a time when women were not allowed in academic life. <a href="https://www.youtube.com/watch?v=neU8RoPz5PY&amp;feature=youtu.be" target="_blank">A video</a> about her by Katy Mack.</li>
</ul>
<h3>Algebra and Number Theory</h3>
<p><em>Goldbach's conjecture</em> (<a href="https://en.wikipedia.org/wiki/Goldbach%27s_conjecture" target="_blank">Wikipedia page</a>). Goldbach's conjecture is an open problem in number theory. It states that every even number greater than 2 is sum of two <a href="https://en.wikipedia.org/wiki/Prime_number" target="_blank">prime numbers</a>. For instance: 8=5+3, 18=11+7, 22=11+11. This has been checked for huge numbers (<span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_51183e13a7797146c0cf0ffe8b8c5465.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>), but to date there is no proof that it's true for all even numbers. Some links:</p>
<ul>
<li><a href="http://sweet.ua.pt/tos/goldbach.html" target="_blank">Page with updates on the verification of the conjecture</a>.</li>
<li><a href="https://terrytao.wordpress.com/tag/goldbach-conjecture/" target="_blank">Post on Terence Tao's blog on his progress</a>.</li>
</ul>
<p><em>Collatz's conjecture</em> (Wikipedia page). The conjecture states: take any natural number n. If n is even, compute n/2. If n is odd, compute 3n+1. Iterate the procedure. You'll alway end up at 1.</p>
<figure id="attachment_560" aria-describedby="caption-attachment-560" style="width: 300px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2015/09/COLPozJUwAAHBma.jpg"><img decoding="async" class="size-medium wp-image-560" src="https://paolaelefante.com/wp-content/uploads/2015/09/COLPozJUwAAHBma-300x150.jpg" alt="Following Collatz numbers. Source: https://vzn1.wordpress.com" width="300" height="150" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COLPozJUwAAHBma-300x150.jpg 300w, https://paolaelefante.com/wp-content/uploads/2015/09/COLPozJUwAAHBma.jpg 599w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-560" class="wp-caption-text">Following Collatz numbers. Source: https://vzn1.wordpress.com</figcaption></figure>
<p><em>Fermat's Last Theorem</em> (<a href="https://en.wikipedia.org/wiki/Fermat%27s_Last_Theorem" target="_blank">Wikipedia page</a>). Stated by Fermat in 1635 and proven only in 1995 by Andrew Wiles, it claims that, given any n greater than 2, there is no integer solution to the equation <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_bb210cc84bdfd665ee1d3412c642dd85.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>. For instance given a cube, you cannot split it in the sum of two other cubes. Fermat wrote on the margin of a book "I have discovered a truly remarkable proof of this theorem which this margin is too small to contain.". <a href="https://t.co/BqScGVeEiB" target="_blank">Here Wiles recalls</a> the moment when he understood his proof was complete (after 7 years of work). If you find the topic interesting, don't miss <a href="http://t.co/ccoQ7zrzmV" target="_blank">this great popular book</a> by Simon Singh.</p>
<p><em>Induction</em>. A technique to prove statements for natural numbers is induction. It works this way: (1) I want to prove statement A is true for all natural numbers, (2) I check A's true for n=1, (3) I <em>assume</em> A's true for a generic n and based on that, I prove A's true for n+1.</p>

<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/couy-orukaa5rhc/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COUY-OrUkAA5rHC-150x150.png" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COUY-OrUkAA5rHC-150x150.png 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COUY-OrUkAA5rHC-60x60.png 60w, https://paolaelefante.com/wp-content/uploads/2015/09/COUY-OrUkAA5rHC.png 297w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/coucynowcaqqyl2/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COUcynoWcAQqYl2-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COUcynoWcAQqYl2-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COUcynoWcAQqYl2-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>

<p><em>Proof of infinity of prime numbers</em>. Euclid proved that prime numbers are infinitely many by a reduction ad absurdum proof. One assumes something, through logic gets to something absurd and concludes the initial assumption must have been false in the first place.</p>
<figure id="attachment_619" aria-describedby="caption-attachment-619" style="width: 300px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2015/09/Euclid.jpg"><img decoding="async" class="size-medium wp-image-619" src="https://paolaelefante.com/wp-content/uploads/2015/09/Euclid-300x225.jpg" alt="Source: Paola Elefante" width="300" height="225" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/Euclid-300x225.jpg 300w, https://paolaelefante.com/wp-content/uploads/2015/09/Euclid.jpg 720w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-619" class="wp-caption-text">Source: Paola Elefante</figcaption></figure>
<p><em>Perfect numbers</em>. A <a href="https://t.co/rZThPKDhA0" target="_blank">perfect number</a> is an integer that is equal to the sum of its divisors (except the number itself). An example is 6, whose divisors are 1,2,3,6, and 1+2+3=6. A cool property is that the sum of the reciprocals of perfect numbers' divisors is always equal to 2: <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_d8a19ede1e5b0a1b64a7348505c49e6f.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>. So far <a href="https://t.co/nAY7Co48iv" target="_blank">only even perfect numbers have been found</a> and the question if odd perfect numbers exist is open.</p>
<p><em>Weird numbers</em>. Some weird names for numbers: <a href="https://t.co/7rPJaw8G6V" target="_blank">sexy primes</a>, <a href="https://en.wikipedia.org/wiki/Friendly_number" target="_blank">friendly numbers</a>, <a href="https://en.wikipedia.org/wiki/Amicable_numbers" target="_blank">amicable numbers</a>, <a href="https://en.wikipedia.org/wiki/Sociable_number" target="_blank">sociable numbers</a>, <a href="https://en.wikipedia.org/wiki/Twin_prime" target="_blank">twin primes</a>.</p>
<p><em>Pi</em>. Pi is one the most celebrated numbers ever, even having its own anniversary. Even<a href="https://t.co/8sXZ5DWVrR" target="_blank"> Star Trek </a>talks about it and Kate Bush <a href="https://t.co/osoUm6Skp7" target="_blank">wrote a song</a>! Pi is irrational, meaning it cannot be expressed as a fraction. An equivalent formulation is that its infinitely many digits have no pattern, so in principle you can <a href="http://t.co/XqK5CuwByo" target="_blank">easily find any string of numbers in there</a>. Another property of Pi is that it cannot be expressed as zero of an polynomial with rational coefficients (<span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_d21848cdd835abcb491be1f151e9b6c6.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> is irrational but a zero of <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_4b6552823dd3893ae5d360a13bc8aa4d.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> instead), making it <a href="http://t.co/vQc21eobid" target="_blank">trascendental</a>. The most decimal places of Pi memorised is 70,000, and was achieved by Rajveer Meena in 2015.</p>
<h3>Geometry and Topology</h3>
<p><em>Art and mathematics</em>.</p>

<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/redrim/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/redrim-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/redrim-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/redrim-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/conddesweaaawhz/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/CONddEsWEAAawhZ-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/CONddEsWEAAawhZ-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/CONddEsWEAAawhZ-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/cone3lowsaa-ssg/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/CONe3loWsAA-SSg-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/CONe3loWsAA-SSg-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/CONe3loWsAA-SSg-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/moebius-strip-ii/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/moebius-strip-ii-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/moebius-strip-ii-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/moebius-strip-ii-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/copnjitw8aeasfa/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COPNJitW8AEAsfA-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COPNJitW8AEAsfA-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COPNJitW8AEAsfA-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/copnjztwoaagnbi/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COPNJZTWoAAgNBi-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COPNJZTWoAAgNBi-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COPNJZTWoAAgNBi-299x300.jpg 299w, https://paolaelefante.com/wp-content/uploads/2015/09/COPNJZTWoAAgNBi-60x60.jpg 60w, https://paolaelefante.com/wp-content/uploads/2015/09/COPNJZTWoAAgNBi.jpg 300w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/conkwl3ueaaxaag/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/CONkWL3UEAAxAAG-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/CONkWL3UEAAxAAG-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/CONkWL3UEAAxAAG-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/conjjx_weaai8mw/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/CONjjX_WEAAi8Mw-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/CONjjX_WEAAi8Mw-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/CONjjX_WEAAi8Mw-300x300.jpg 300w, https://paolaelefante.com/wp-content/uploads/2015/09/CONjjX_WEAAi8Mw-60x60.jpg 60w, https://paolaelefante.com/wp-content/uploads/2015/09/CONjjX_WEAAi8Mw.jpg 600w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/images-2/'><img decoding="async" width="96" height="96" src="https://paolaelefante.com/wp-content/uploads/2015/09/images-2.jpeg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/images-2.jpeg 96w, https://paolaelefante.com/wp-content/uploads/2015/09/images-2-60x60.jpeg 60w" sizes="(max-width: 96px) 100vw, 96px" /></a>

<p>[add Mobius scarf and bacon: downloaded. Add Bathsheba Grossman.]</p>
<p>I mentioned two weird geometry constructions (manifolds) in particular: <a href="https://en.wikipedia.org/wiki/Möbius_strip" target="_blank">Möbius' strip</a> and <a href="https://en.wikipedia.org/wiki/Klein_bottle" target="_blank">Klein's bottle</a>. They are non-orientable. Möbius's strip has not "over" or "below", Klein's bottle has no "inside" or "outside.</p>
<p><em>Non-euclidean geometries</em>. Eucliden geometry, the "classical one", is based on some axioms. At some point some mathematicians wondered if they were all necessary and experimented with creating new geometry settings.</p>

<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/copjjf3woaao2ix/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COPJJF3WoAAo2IX-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COPJJF3WoAAo2IX-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COPJJF3WoAAo2IX-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/coplgkbwiaa-fs2/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COPLgKbWIAA-fS2-150x150.png" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COPLgKbWIAA-fS2-150x150.png 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COPLgKbWIAA-fS2-60x60.png 60w, https://paolaelefante.com/wp-content/uploads/2015/09/COPLgKbWIAA-fS2.png 220w" sizes="(max-width: 150px) 100vw, 150px" /></a>

<p>Here the <a href="https://t.co/PEHn6nGUku" target="_blank">Wikipedia page on the topic</a>. Also, <a href="http://t.co/iNb6Fiyae3" target="_blank">non-euclidean geometries relate to Einstein's General Relativity Theory</a>.</p>
<p><em>The Seven Bridged of Königsberg</em>. This <a href="https://t.co/hy7JE16Jts" target="_blank">problem</a> was solved by Euler in 1736 and led to the birth of <a href="https://t.co/TQouJX3HlX" target="_blank">graph theory</a>. Graph theory is used when <a href="https://t.co/2Lt3CcIpKY" target="_blank">solving</a> or <a href="https://t.co/FqRfjGGxaL" target="_blank">creating</a> mazes. Another related famous problems is the <a href="https://t.co/GfMME46F9K" target="_blank">Four Colour Theorem</a>: given any map, you can use only four colours to fill all countries so that any two adjacent countries have different color. The latter was proved by Kenneth Appel and Wolfgang Haken in 1976. They reduced to 1'936 possible cases and then checked them all with a computer. It was the first time computing was used in a formal proof.</p>
<p><em>The happy ending problem</em>. Below I state the <a href="https://en.wikipedia.org/wiki/Happy_ending_problem" target="_blank">problem</a> visually. George Szekeres went even further and proved you can always draw the polygon you want, if you draw enough initial points (for a convex pentagon: you need 9 points). There is a conjecture stating you need <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_3d1d3910372ccd195a7312b2c231277b.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> points to be sure to find a convex polygon with <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_8ce4b16b22b58894aa86c421e8759df3.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script> sides. The question was named this way because it led to the long-lasting love of <a href="https://en.wikipedia.org/wiki/Esther_Szekeres" target="_blank">Esther</a> and <a href="https://en.wikipedia.org/wiki/George_Szekeres" target="_blank">George Szekeres</a>. They were married 70 years and <a href="http://t.co/V1DrTBvG6R" target="_blank">died within one hour</a> from each other. Mathematics can make you fall in love sometime...</p>
<figure id="attachment_612" aria-describedby="caption-attachment-612" style="width: 300px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2015/09/Slide12.jpg"><img decoding="async" class="size-medium wp-image-612" src="https://paolaelefante.com/wp-content/uploads/2015/09/Slide12-300x225.jpg" alt="Source: Paola Elefante" width="300" height="225" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/Slide12-300x225.jpg 300w, https://paolaelefante.com/wp-content/uploads/2015/09/Slide12.jpg 720w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-612" class="wp-caption-text">Source: Paola Elefante</figcaption></figure>
<p><em>Homeomorphisms</em>. One of the funniest tools in topology. Here a <a href="http://t.co/RspERw2N7f" target="_blank">video</a> showing why donuts are mugs after all. Below another weird transformation: from a square to a (almost) torus.</p>

<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/comphq7vaaau3ob/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COmPhQ7VAAAU3oB-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COmPhQ7VAAAU3oB-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COmPhQ7VAAAU3oB-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/comphqpuyaqf4dj/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COmPhQpUYAQf4DJ-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COmPhQpUYAQf4DJ-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COmPhQpUYAQf4DJ-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>

<p><em>Manifolds</em>. Another powerful maps are diffeomorphisms, a level on top of homeomorphisms. Manifolds are geometrical objects that are locally similar to <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_cf048f74f71721abd7b8df49453d1310.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> for some n. For instance a sphere is a manifold of dimension 2, small regions are comparable to planar regions. If you consider a sphere, you imagine it embedded in tridimensional space, but truth is you don't know the third dimension. All you know is your 2-dimensional "curved" life on the sphere. This is why you need <a href="https://t.co/tdAeocZ4OP" target="_blank">new tools</a> to define differentiation, that is usually linear and "flat". Manifolds find many real-life applications: for instance seismic tomography (see above) or <a href="https://t.co/VU7rTcFPUy" target="_blank">robotics</a>.</p>
<figure id="attachment_615" aria-describedby="caption-attachment-615" style="width: 300px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2015/09/COmWOihWoAAgN3B.jpg"><img decoding="async" class="size-medium wp-image-615" src="https://paolaelefante.com/wp-content/uploads/2015/09/COmWOihWoAAgN3B-300x184.jpg" alt="Manifold. Source: http://math.stackexchange.com/questions/57763/publication-quality-mathematics-diagrams" width="300" height="184" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COmWOihWoAAgN3B-300x184.jpg 300w, https://paolaelefante.com/wp-content/uploads/2015/09/COmWOihWoAAgN3B.jpg 490w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-615" class="wp-caption-text">Manifold. Source: http://math.stackexchange.com/questions/57763/publication-quality-mathematics-diagrams</figcaption></figure>
<h3>Analysis and Calculus</h3>
<p><em>Harmonic series</em>. <a href="http://t.co/lJlobGZzVb" target="_blank"> Their name comes from music</a>. The basic question is: can we get infinity by summing up infinitely many infinitesimal quantities? Turns out it depends, as you can see from the figures. Relating to harmonic series is the <a href="http://t.co/X4BvFxHVOw" target="_blank">problem of book stacking</a>.</p>

<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/coynw9lw8aajcxy/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COYNW9LW8AAjCxY-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COYNW9LW8AAjCxY-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COYNW9LW8AAjCxY-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/coyumygveaaajeg/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COYUMygVEAAAJeg-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COYUMygVEAAAJeg-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COYUMygVEAAAJeg-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>

<p><em>Integration</em>. The theory of integration started several centuries ago, when people questioned how to calculate "difficult areas", but it was rigorously stated by <a href="https://en.wikipedia.org/wiki/Bernhard_Riemann" target="_blank">Riemann</a> in the XIX century. Below you find my explanation of his theory and a visual solution about integrability of monotone functions.</p>

<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/cocdgriwiaakcgt/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COcdGrIWIAAKCGT-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COcdGrIWIAAKCGT-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COcdGrIWIAAKCGT-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/cocdjvewwaebkh4/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COcdjVEWwAEbkh4-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COcdjVEWwAEbkh4-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COcdjVEWwAEbkh4-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/cocyx0rucaag5l_/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COcyX0rUcAAG5L_-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COcyX0rUcAAG5L_-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COcyX0rUcAAG5L_-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/cocyx1mucaayrh_-2/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COcyX1MUcAAyrh_-2-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COcyX1MUcAAyrh_-2-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COcyX1MUcAAyrh_-2-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>

<p><em>Pompeiu problem</em>. <a href="https://en.wikipedia.org/wiki/Pompeiu_problem" target="_blank">Formulated in the past century</a>, it's still open. Here's <a href="http://t.co/IZTd97KRL8" target="_blank">my favourite reference</a> on the topic. See the problem below.</p>

<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/slide2/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/Slide2-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/Slide2-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/Slide2-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/slide1-2/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/Slide11-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/Slide11-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/Slide11-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>

<p><em>Banach-Tarski paradox</em>. With a very formal proof, <a href="https://en.wikipedia.org/wiki/Banach –Tarski_paradox" target="_blank">Banach and Tarski</a> showed it is in principle possible to cut a sphere in pieces and recombine the pieces to get two spheres identical to the first. The trick is to decompose the sphere in non-measurable sets, that is something really artificial and odd.</p>
<figure id="attachment_593" aria-describedby="caption-attachment-593" style="width: 599px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2015/09/COZP_YZUAAAYUnD.png"><img decoding="async" class="size-full wp-image-593" src="https://paolaelefante.com/wp-content/uploads/2015/09/COZP_YZUAAAYUnD.png" alt="Source: http://dtpetersonupdate.blogspot.de/2013/06/banach-tarski-paradox.html" width="599" height="188" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COZP_YZUAAAYUnD.png 599w, https://paolaelefante.com/wp-content/uploads/2015/09/COZP_YZUAAAYUnD-300x94.png 300w" sizes="(max-width: 599px) 100vw, 599px" /></a><figcaption id="caption-attachment-593" class="wp-caption-text">Source: http://dtpetersonupdate.blogspot.de/2013/06/banach-tarski-paradox.html</figcaption></figure>
<h3>History of Mathematics</h3>
<p><em>Math duels</em> ("disfide"). Around 1500, <a href="http://t.co/LNGgRt7iLg" target="_blank">mathematicians used to challenge each other</a> to math duels, to prove who was smarter and more able to solve problems. A famous series of such episodes concerned the formula to solve cubic equations, that is equations of the form <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_6724295a2b7eee288914766e580aaee8.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>. It all started with <a href="https://en.wikipedia.org/wiki/Niccolò_Fontana_Tartaglia" target="_blank">Tartaglia</a>, an Italian mathematician nicknamed like that for his stammering. Born in a poor family, he had been a soldier, a topographer, and was a talented self-taught mathematician. At the time, mathematicians rarely published their results and only shared them with their students and maybe family, so that they would have an ace in their hole when it came to being hired by some university. At some point, a mathematician contemporary to Tartaglia, Antonio Maria del Fiore, started bragging about knowing the formula to solve cubic equations, which he learned from his teacher <a href="https://en.wikipedia.org/wiki/Scipione_del_Ferro" target="_blank">Scipione Del Ferro</a>. Tartaglia was an ambitious researcher and found the formula independently. He then accepted a "math duel" from del Fiore. Tartaglia annihilated del Fiore and became immediately famous. <a href="https://en.wikipedia.org/wiki/Gerolamo_Cardano" target="_blank">Cardano</a>, famous mathematician of the time, invited him to Milan. Tartaglia told him the "secret formula", under the oath he would not reveal it. However, he still hesitated to publish it. Years later, Cardano found out that Del Ferro - then long gone - had discovered the formula previously and independently, thus he felt relieved from his promise to Tartaglia. He then allowed his student <a href="https://en.wikipedia.org/wiki/Lodovico_Ferrari" target="_blank">Ferrari</a> to publish their research and improvements on Tartaglia's formula. The result was a duel, in which Tartaglia lost due to his stammering and lack of confidence in public speaking. Luckily history gave him credit and the solving formula is named also after him.</p>
<figure id="attachment_604" aria-describedby="caption-attachment-604" style="width: 222px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2015/09/COdT_l5UEAAr3tq.png"><img decoding="async" class="wp-image-604 size-medium" src="https://paolaelefante.com/wp-content/uploads/2015/09/COdT_l5UEAAr3tq-222x300.png" alt="Source: http://studiomatematica.altervista.org/documenti/tartaglia.pdf" width="222" height="300" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COdT_l5UEAAr3tq-222x300.png 222w, https://paolaelefante.com/wp-content/uploads/2015/09/COdT_l5UEAAr3tq.png 599w" sizes="(max-width: 222px) 100vw, 222px" /></a><figcaption id="caption-attachment-604" class="wp-caption-text">Source: http://studiomatematica.altervista.org/documenti/tartaglia.pdf</figcaption></figure>
<p><em>Evariste Galois</em>. One of the most brilliant mathematicians ever existed, he died very young in a duel (a real one!). Here his <a href="https://t.co/kuB12tvVOm" target="_blank">biography</a>. <a href="http://t.co/2CqXGrSRM7" target="_blank">His results</a> were crucial to Wiles to prove Fermat Last Theorem.</p>
<p><em>The stolen theorem</em>. <a href="https://t.co/TPejNTsOrz" target="_blank">One of the most popular calculus theorems</a> is believed to <a href="https://t.co/JALafaKkv7" target="_blank">have been commissioned </a>by De L'Hopital to Johann Bernoulli.</p>
<p><em>Riemann's hypothesis</em>. A great popular book to know more about prime numbers and a legendary problem in analytical number theory is <a href="https://t.co/9TOhNWVIyp" target="_blank">The Music of Primes </a>by Marcus Du Sautoy.</p>
<p><em>The Newton-Leibniz controversy</em>. The two illustrious contemporary scientists <a href="https://t.co/Rr6Y010W3H" target="_blank">fought to be recognised</a> as inventor of calculus. Historians now believe they both were right and invented calculus independently, but at the time Newton's influence allowed him to win the argument and Leibniz died in disgrace. This rivalry <a href="https://t.co/zhqA29JPCC" target="_blank">was quoted in the popular show The Big Bang Theory</a>.</p>
<p><em>Paul Erdos</em>. Some say he was the <a href="https://t.co/NQ6nw1SR4y" target="_blank">greatest mathematician</a> of the past century. He collaborated with more than 500 people, writing more than 1,525 papers, in many different areas and topics! Erdos belonged to an Hungarian Jewish family that lived during Nazism. His father died in the Holocaust and his mother survived in hiding. He didn't have a home: he kept travelling around the world, stopping at conferences or hosted by colleagues. He would knock in the middle of the night at the door of some colleague and say he was ready to solve some problem. No one would dare to turn him down and throw the chance away, 'cause his productivity and genius were out of ordinary. He received 15 honorary doctorates.</p>
<p><em>Alexander Grothendieck</em>. <a href="http://t.co/gvbnjLCD5H" target="_blank">I wrote about him</a> when he passed last year. <a href="http://t.co/CkpT8mjl7m" target="_blank">Someone translated some of his lectures in English</a>. You can read more on his life <a href="http://t.co/Ium3Mu9rQ4" target="_blank">here</a>.</p>
<h3>Riddles</h3>
<p><em>The hanging picture problem</em>. Hang a picture to the wall using two nails and a string. Fix the string in such a way that if one (<em>any</em>) of the two nails is removed, the picture falls down.</p>
<p>Solution: name by variables the following actions: <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_9dd4e461268c8034f5c8564e155c67a6.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="" /></span><script type='math/tex'></script> means "to pass the string over nail 1 clockwise",  <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_48ea9be719fa783b7063fd5c5531521a.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script> means "to pass the string over nail 1 counterclockwise". Similarly for <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_c2966c8b8e2f738df86da01a8e93e4e6.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> and nail 2. We can combine actions through a sort of multiplications. Passing the string over nail 1 in one sense and then the other would be <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_7a20f2258bc85bcca24b525222aeb60a.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script>, so we understand that <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_c4ca4238a0b923820dcc509a6f75849b.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script> corresponds to "nothing is done", meaning "the picture falls down". Also, observe (physically) that the actions are not commutative: try <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_2502b4110ec497ae0a74db41f1881eaf.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> and check that it is not equivalent to do only <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_415290769594460e2e485922904f345d.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script>. Also, removing for instance nail 1 corresponds to ignore all actions as <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_9dd4e461268c8034f5c8564e155c67a6.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="" /></span><script type='math/tex'></script> and <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_48ea9be719fa783b7063fd5c5531521a.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script>. Hence our problem translates to: write a product so that by removing all occurrences of $x, x^{-1}$ or <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_dcfa43365aee9d04280fea8259af044b.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> you get 1. Since our product is not commutative, one solution will be: <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_c5cadbd645fac76b971da0ea97f1186c.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>. Through abstraction you can easily generalise this trick to any number of nails!</p>
<figure id="attachment_579" aria-describedby="caption-attachment-579" style="width: 378px" class="wp-caption aligncenter"><a href="https://paolaelefante.com/wp-content/uploads/2015/09/CORZxaZUcAA5H7a.png"><img decoding="async" class="size-full wp-image-579" src="https://paolaelefante.com/wp-content/uploads/2015/09/CORZxaZUcAA5H7a.png" alt="Visual solution with 2 nails." width="378" height="281" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/CORZxaZUcAA5H7a.png 378w, https://paolaelefante.com/wp-content/uploads/2015/09/CORZxaZUcAA5H7a-300x223.png 300w" sizes="(max-width: 378px) 100vw, 378px" /></a><figcaption id="caption-attachment-579" class="wp-caption-text">Visual solution with 2 nails.</figcaption></figure>
<p>A <a href="http://t.co/eA8wwKDTtS" target="_blank">reference link</a> on the topology behind this.</p>
<p><em>The prisoners</em>. Three prisoners meet a guard in a room. The guard says: "I have hats with me, two of which are black and the others are white". The prisoners ask: "How many hats there are all together?", the guard replies: "It's a secret!". The guard picks three of the hats and puts them on the prisoners' heads. All prisoners see the others' hats color, but not their own. The guard asks them, one after another: "What is the color of your hat?". The first prisoner looks around and replies: "I don't know". The second prisoner looks around and replies: "I don't know". What does the third prisoner reply and what is his hat's color?</p>
<p>Solution: denote B=black and W=white. Because of the replies of prisoner 1 and 2, we can rule out the combinations: W B B and B W B. We are left with the following cases: W W B, B W W, W W W, B B W, W B W. All cases except one show that the third prisoner's hat must be W. Consider the case W W B. The second prisoner hears the first's reply, so he understand he cannot see two black hats, leaving only the possibilities of him seeing two white hats or one black and one white. When his turn comes, he sees the third wearing black, so he concludes his own must be white and replies so. Since he says he doesn't know, we must rule this case out and conclude the third prisoner has white hat and says so.</p>
<p><em>Palindromes</em>. Find the smallest 3-digit <a href="https://t.co/8H3nQIVp3Q" target="_blank">palindrome</a> number that is divisible by 18.</p>
<p>Solution: our number, denote by <b>ABA</b>, must be divisible by 2 and 9. A number is divisible by 9 if the sum of its digits is divisible by 9, hence A+B+A=2A+B is divisible by 9. ABA must be also even, that leaves us the following possibilities:</p>
<p>A=2 -&gt; 2A+B=4+B -&gt; B must be 5</p>
<p>A=4 -&gt; B=1</p>
<p>A=6 -&gt; B=6</p>
<p>A=8 -&gt; B=2</p>
<p>The smallest is 252.</p>
<p><em>The Monty Hall problem</em>. This is a <a href="https://t.co/z6nrbAOVzb" target="_blank">counter-intuitive problem of probability</a>. Even Paul Erdos, considered the best mathematician of past century, did not believe the solution until he saw computer simulations! The problem asks: you are a guest of a TV programme. The presenter shows you three closed doors: behind one there's the car of your dreams, behind the other two there are goats. He lets you pick a door (say, n.1), but before opening it, he opens one of the other two (say, n.3) and shows a goat behind it. He then asks you: "Do you want to stick with your choice or change to door n.2?". What's the best strategy? The solution says the best strategy is changing your initial choice. Here some material to understand this: <a href="https://t.co/BKZ9ZNqWa6" target="_blank">link 1</a>, <a href="https://t.co/xq1g853z0i" target="_blank">link 2</a>, <a href="http://t.co/qP5uCWnE9P" target="_blank">link 3</a>.</p>
<p><em>True statements</em>. How many statements are true?</p>
<blockquote><p><em>At most 0 statements in this block are true.</em></p>
<p><em>At most 1 statement in this block is true.</em></p>
<p><em>At most 2 statements in this block are true.</em></p>
<p><em>At most 3 statements in this block are true.</em></p></blockquote>
<p>Solution: only the last two statements are true. If you assume no statement is true, then the first is true, which is a contradiction. If you assume only one is true, the last three are true, again a contradiction.</p>
<p><em>The 12 ball problem</em>. You have 12 balls, looking exactly the same, but one is an odd weight (you do not know if it's lighter or heavier). You have a scale (see figure below) and at most three chances to use it. How do you find the odd ball? Solution is in the gallery below.</p>

<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/codmiveuwaa8hkm/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COdmiveUwAA8HkM-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COdmiveUwAA8HkM-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COdmiveUwAA8HkM-300x300.jpg 300w, https://paolaelefante.com/wp-content/uploads/2015/09/COdmiveUwAA8HkM-60x60.jpg 60w, https://paolaelefante.com/wp-content/uploads/2015/09/COdmiveUwAA8HkM.jpg 600w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/slide1/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/Slide1-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/Slide1-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/Slide1-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>

<p><em>Sticks</em>. Use 6 identical sticks to build 4 identical triangles.</p>
<p>Solution: <a href="https://en.wikipedia.org/wiki/Tetrahedron" target="_blank">click here</a>.</p>
<h3>Miscellanea</h3>

<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/cooz3bbuyai06vq/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COOz3BBUYAI06VQ-150x150.png" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COOz3BBUYAI06VQ-150x150.png 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COOz3BBUYAI06VQ-60x60.png 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/coo13dgw8aagang/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/09/COO13DgW8AAGAng-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/09/COO13DgW8AAGAng-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/09/COO13DgW8AAGAng-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>

<ul>
<li><a href="https://t.co/UwnGLFc8L2" target="_blank">How to draw a perfect ellipse</a>.</li>
<li>The <a href="https://t.co/POcwAwQpsz" target="_blank">golden ratio</a> to be found in architecture and <a href="http://t.co/J6c6YuOmpC" target="_blank">nature</a>.</li>
<li><a href="https://t.co/WObmwTI34u" target="_blank">Visualising Pythagoras' theorem</a>.</li>
<li>Communication of science: <a href="http://t.co/vp4Tbw64ma" target="_blank">SoapBoxScience</a>.</li>
<li>The <a href="https://t.co/Sk6O1xFNXL" target="_blank">Mathematics of Sudoku</a>.<a href="http://t.co/GrHYs55YeE" target="_blank"> 17 is the minimum number</a> of clues to have a unique solution. The "<a href="http://t.co/4V3QHPn0j0" target="_blank">most difficult scheme</a>" was <a href="http://t.co/WKqOVhDsnX" target="_blank">created by a Finn</a>.</li>
<li><a href="https://t.co/EBt6S5yIEB" target="_blank">Magic square</a>. In antiquity, they were believed to hold mystical power. <a href="http://t.co/7R8KJxfZ17" target="_blank">Euler's work on magic squares</a> (translated to English).</li>
<li>Bayesian approach to Inverse Problems: <a href="http://t.co/GZUOFhjplq" target="_blank">link 1</a>, <a href="http://t.co/aMG2Tnq0GZ" target="_blank">link 2</a>.</li>
<li>Gödel incompleteness theorems. Proved by a young <a href="https://t.co/Q1cS8yKobt" target="_blank">Gödel</a> in 1931, they threw mathematicians in panic (still do). <a href="https://t.co/7dbUEqog6P" target="_blank">A funny look </a>into the topic.</li>
<li><a href="http://www.vox.com/2014/11/24/7276027/traffic-jam?utm_medium=social&amp;utm_source=twitter&amp;utm_campaign=voxdotcom&amp;utm_content=friday" target="_blank">Mathematical models for traffic jams</a>.</li>
<li>Free version of the book "<a href="http://t.co/5il1udIBRN" target="_blank">A Mathematician's Apology</a>" by the great number theorist <a href="https://t.co/1mcktSh58m" target="_blank">G. H. Hardy</a>.</li>
</ul>
<p>&nbsp;</p>
<p>L'articolo <a href="https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/">Tweeting for Real Scientists: aftermath.</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://paolaelefante.com/2015/09/tweeting-for-real-scientists-aftermath/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>4D tomography: walkthrough of my project - part 3</title>
		<link>https://paolaelefante.com/2015/08/4d-tomography-walkthrough-of-my-project-part-3/</link>
					<comments>https://paolaelefante.com/2015/08/4d-tomography-walkthrough-of-my-project-part-3/#respond</comments>
		
		<dc:creator><![CDATA[Paola Elefante]]></dc:creator>
		<pubDate>Tue, 11 Aug 2015 14:03:15 +0000</pubDate>
				<category><![CDATA[algorithms]]></category>
		<category><![CDATA[experimental math]]></category>
		<category><![CDATA[inverse problems]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[medical imaging]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[talks]]></category>
		<guid isPermaLink="false">https://paolaelefante.com/?p=447</guid>

					<description><![CDATA[<p>Here comes the final part of the walkthrough of my current project on dynamic sparse tomography (see also part 1 and part 2). In the previous post I left the question of the choice of&#8230;</p>
<p>L'articolo <a href="https://paolaelefante.com/2015/08/4d-tomography-walkthrough-of-my-project-part-3/">4D tomography: walkthrough of my project - part 3</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Here comes the final part of the walkthrough of my current project on dynamic sparse tomography (see also <a href="https://paolaelefante.com/2015/06/4d-tomography-walkthrough-of-my-project-part-1/" target="_blank">part 1</a> and <a href="https://paolaelefante.com/2015/06/4d-tomography-walkthrough-of-my-project-part-2/" target="_blank">part 2</a>). In the previous post I left the question of the choice of the cut-off function <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_b4bec7d8d220016c7603bd88c81dcf71.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script> hanging. In a classical level set method, <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_b4bec7d8d220016c7603bd88c81dcf71.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script> would be the <a href="https://en.wikipedia.org/wiki/Heaviside_step_function" target="_blank">Heaviside step function</a>. The Heaviside function is defined as:</p>
<p><span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_3d4e19436dccb01845da272144415f89.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script></p>
<p>When the first tests on the static case were ran, Kolehmainen, Lassas and Siltanen noticed that the reconstruction was not good, but the level set function itself resembled the infinite precision data. Hence, they decided to use a new cut-off function:</p>
<p><span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_9d12b06f8a19639be5ebbb42416d093a.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script></p>
<p>that is the identity function, with a non-negativity constraint. In my own simulations, I approximated the latter by a <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_e462b7e236c081548166a08ba6b20e24.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> map:</p>
<p><span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_57e098b596ed4ce7283152623d7790f1.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script></p>
<p>Numerical results were slightly better and the corresponding objective functional was Frechet differentiable (not only Gateaux differentiable, as before).</p>
<p>Recently <a href="http://www.siltanen-research.net/HHKLNS_v19.pdf" target="_blank">Niemi <em>et al.</em></a> proved that <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_bc6b0efd3bed4dfabe15757cf4089d87.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> is equivalent to the non-negativity constraint Tikhonov functional. Hence, they generalized it to higher orders. For instance, the functional of order 2 to minimize is:</p>
<p><span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_1e1a8f860011b9a5145d6980a728b435.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script></p>
<p>In this case, existence of a global minimizer was proved.</p>
<p>The first simulation Esa Niemi ran, was on the (2+1)D phantom shown in <a href="https://paolaelefante.com/2015/06/4d-tomography-walkthrough-of-my-project-part-2/" target="_blank">part 2</a>. The intensity value of the medium is constantly 1, while outside it we have a background constant at value 0. At each time frame, measurements were collected around a full-angle, from only 7 equally distant directions. In the following chosen time frames (“sections” of the 3D surface) you can see the outcome.</p>
<p><a href="https://paolaelefante.com/wp-content/uploads/2015/08/SimulationResults.png"><img decoding="async" class="aligncenter wp-image-491 size-large" src="https://paolaelefante.com/wp-content/uploads/2015/08/SimulationResults-1024x693.png" alt="SimulationResults" width="648" height="439" srcset="https://paolaelefante.com/wp-content/uploads/2015/08/SimulationResults-1024x693.png 1024w, https://paolaelefante.com/wp-content/uploads/2015/08/SimulationResults-300x203.png 300w, https://paolaelefante.com/wp-content/uploads/2015/08/SimulationResults-800x541.png 800w, https://paolaelefante.com/wp-content/uploads/2015/08/SimulationResults.png 1150w" sizes="(max-width: 648px) 100vw, 648px" /></a></p>
<p>The first column depict the infinite precision data, that is the simulated body. In the second column the same sections are reconstructed through Filtered Back Projection, that is the method currently used by industrial machineries. FBP does not work with undersampled data, as you can see. In the third and fourth column you can compare the reconstructions by the level set method I explained, respectively by the order 1 and the order 2 functionals. In the last column, I show how a classical regularization method works in this case, namely Tikhonov regularization. Our new method, with the order 2 functional, works much better, as you can see by the approximation errors shown in each frame.</p>
<p>The second step Esa faced was testing on real data. To reproduce the same measurement setting of the simulation, he created a stop-motion animation. He put some sugar cubes and measured around a full-angle. Then he added one or a couple of sugar cubes and measured again, and so on. The new sugar cubes represented the dynamic change (sudden, in this case) in the data. Sugar cubes are also a good choice because they have corners, which the simulated data was missing. The results can be seen in the following pictures (I selected only three time frames).</p>
<p><a href="https://paolaelefante.com/wp-content/uploads/2015/08/RealDataResults.png"><img decoding="async" class="aligncenter wp-image-492 size-large" src="https://paolaelefante.com/wp-content/uploads/2015/08/RealDataResults-1024x714.png" alt="RealDataResults" width="648" height="452" srcset="https://paolaelefante.com/wp-content/uploads/2015/08/RealDataResults-1024x714.png 1024w, https://paolaelefante.com/wp-content/uploads/2015/08/RealDataResults-300x209.png 300w, https://paolaelefante.com/wp-content/uploads/2015/08/RealDataResults-800x558.png 800w, https://paolaelefante.com/wp-content/uploads/2015/08/RealDataResults.png 1122w" sizes="(max-width: 648px) 100vw, 648px" /></a></p>
<p>The first column shows a fine reconstruction, done by FBP, using many projection angles. From the second column on, only 10 projections were used. Our method is compared with another classical reconstruction method, as Total Variation is. Again, the outcome is very promising: of course in this case you cannot compute an approximation error but you can compare visually with ground truth.</p>
<p>There is still an extensive investigation to carry on. Personally, one of my next goals is to make the codes work in a more realistic measurement setting, namely helicoidal acquisition. I would like to sample the data <em>while</em> the dynamic change happens. To this purpose, I designed the following prototype, inspired by the potential application of angiography.</p>

<a href='https://paolaelefante.com/2015/08/4d-tomography-walkthrough-of-my-project-part-3/model/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/08/model-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/08/model-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/08/model-60x60.jpg 60w, https://paolaelefante.com/wp-content/uploads/2015/08/model-1200x1200-cropped.jpg 1200w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/08/4d-tomography-walkthrough-of-my-project-part-3/model3/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/08/model3-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/08/model3-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/08/model3-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://paolaelefante.com/2015/08/4d-tomography-walkthrough-of-my-project-part-3/model4/'><img decoding="async" width="150" height="150" src="https://paolaelefante.com/wp-content/uploads/2015/08/model4-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://paolaelefante.com/wp-content/uploads/2015/08/model4-150x150.jpg 150w, https://paolaelefante.com/wp-content/uploads/2015/08/model4-60x60.jpg 60w" sizes="(max-width: 150px) 100vw, 150px" /></a>

<p>The top part of the model has the practical purpose of collecting the viscous contrast agent and buy some time for it while we start the measurement procedure. The relevant part of the model are the “veins” that would be (slowly) filled up while we rotate the sample and acquire the data. This will be the next (2+1)D real data I will test on. Currently I am experimenting to find the right contrast agent together with my colleague <a href="https://tuhat.halvi.helsinki.fi/portal/fi/persons/alexander-meaney(52bd796c-7270-4b34-a96a-5f3fa16ae33a).html" target="_blank">Alexander Meaney</a>. In the meantime I am experimenting with simulated data with promising results.</p>
<p>This is the current state of my project. Personally, I find it to be a perfect mix of theoretical aspects, computer simulations and great potential for applications. I also hope this will make me get in touch with professionals of other areas. For instance, it would be nice to get suggestions for testing data, or measurement settings. So… feel free to comment and share your view.</p>
<p>L'articolo <a href="https://paolaelefante.com/2015/08/4d-tomography-walkthrough-of-my-project-part-3/">4D tomography: walkthrough of my project - part 3</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://paolaelefante.com/2015/08/4d-tomography-walkthrough-of-my-project-part-3/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>4D tomography: walkthrough of my project - part 2</title>
		<link>https://paolaelefante.com/2015/06/4d-tomography-walkthrough-of-my-project-part-2/</link>
					<comments>https://paolaelefante.com/2015/06/4d-tomography-walkthrough-of-my-project-part-2/#respond</comments>
		
		<dc:creator><![CDATA[Paola Elefante]]></dc:creator>
		<pubDate>Tue, 23 Jun 2015 09:45:56 +0000</pubDate>
				<category><![CDATA[algorithms]]></category>
		<category><![CDATA[experimental math]]></category>
		<category><![CDATA[inverse problems]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[medical imaging]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[talks]]></category>
		<guid isPermaLink="false">https://paolaelefante.com/?p=426</guid>

					<description><![CDATA[<p>After talking about motivation (see the first part and then part 3), I will now go into details with the mathematics foundations of the project. The novel tomography reconstruction algorithm I am contributing developing is based on&#8230;</p>
<p>L'articolo <a href="https://paolaelefante.com/2015/06/4d-tomography-walkthrough-of-my-project-part-2/">4D tomography: walkthrough of my project - part 2</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>After talking about motivation (<a href="https://paolaelefante.com/2015/06/4d-tomography-walkthrough-of-my-project-part-1/" target="_blank">see the first part</a> and then <a href="https://paolaelefante.com/2015/08/4d-tomography-walkthrough-of-my-project-part-3/" target="_blank">part 3</a>), I will now go into details with the mathematics foundations of the project. The novel tomography reconstruction algorithm I am contributing developing is based on a level set method approach.</p>
<h4>Level set methods</h4>
<p>A <a href="https://en.wikipedia.org/wiki/Level_set_method" target="_blank">level set method</a> is an elaborate, yet geometrically intuitive, framework to deal with a dynamic front. Imagine the problem of a 2D object changing in time. For instance, let's say we have a disk that stays still for a while, then expands in a "eigth shape" and then splits into disks that keep moving. After a while, a smaller disk originates from one of the previous two. In a situation like this, we would witness a topological change that is quite hard to parametrize (*). The intuitive idea behind level set methods is to model such situation in 3D, including time as a spatial dimension. The dynamic 2D object will then "build" a continuous surface. You can observe the case I depicted in the following video (**).</p>
<p><a href="https://youtu.be/VtOpVH7pwrI">https://youtu.be/VtOpVH7pwrI</a></p>
<p>On the left, you can observe the 2D dynamic object changing in time. On the right, the level set surface is built accordingly.</p>
<p>Level set methods were originally developed in the 1980s by mathematicians <a href="http://www.math.ucla.edu/~sjo/" target="_blank">Stanley Osher</a> and <a href="https://math.berkeley.edu/people/faculty/james-sethian" target="_blank">James Sethian</a>. The motivating application was (still is) computer graphics, where problems like the one I described above are frequent, for instance, in reproducing animation of fluids, where topological changes are routine.</p>
<p><iframe title="Fluid simulation - Pouring water" width="720" height="540" src="https://www.youtube.com/embed/3tNv_buE_gA?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p>Video from <a href="https://www.youtube.com/channel/UCpsG-clkffBjB-Aoc8sS9pQ" target="_blank">Dongsoo Han Youtube channel</a>. See also <a href="https://www.youtube.com/watch?v=z8wlEsSnpQY" target="_blank">this video</a> about Disney animation.</p>
<p>As Osher put it, "<em>when a catastrophe in the movies should look realistic, Hollywood calls for the mathematicians</em>".</p>
<h4>Our model</h4>
<p>Level set methods were applied to several inverse problems and you can learn more about it <a href="ftp://ftp.math.ucla.edu/pub/camreport/cam04-02.pdf" target="_blank">from this nice survey</a> (2004). In this case, we model the X-ray attenuation (that is the unknown we want to recover) as <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_e9327736511c9ce0f7b78497f8869b42.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script>, where <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_b4bec7d8d220016c7603bd88c81dcf71.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script> is a cut-off function we choose (I will explain how in the next post) and <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_dd978be062d95fe4c7df74594cc810e3.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> is the minimizer of the following Tikhonov-like functional:</p>
<p>(1)<span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_080edc0b804f0557c29f876aed9b8313.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script></p>
<p>For someone who works in iterative reconstruction algorithms, this looks familiar (***). The main difference is the presence of the function <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_b4bec7d8d220016c7603bd88c81dcf71.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script>. Here <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_7b7f9dbfea05c83784f8b85149852f08.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="" /></span><script type='math/tex'></script> is the regularization parameter, that has the task to balance the two norms. Now, through Gateaux differentiation (§), one can see that solving this minimization problem is equivalent to finding the limit solution <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_c807cafa3d99b80beb551e6845a0ab1c.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script> of the evolution equation:</p>
<p>(2) <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_e0c4ebf0b435819c81cc50fd301e321c.gif' style='vertical-align: middle; border: none; ' class='tex' alt="" /></span><script type='math/tex'></script></p>
<p>In this sense, this is a level set method, since equation (2) recalls an evolution equation of a level set method. Anyway, I approach the numerical solution of the problem by the formulation (1) and apply gradient descent methods.</p>
<p>In the next post I will explain who <span class='MathJax_Preview'><img src='https://paolaelefante.com/wp-content/plugins/latex/cache/tex_b4bec7d8d220016c7603bd88c81dcf71.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="" /></span><script type='math/tex'></script> is and how we choose it. Also, I will show some published results to present a comparison with well-known methods in the case of undersampled data.</p>
<p>&nbsp;</p>
<p>(*) If you had the instinct of running away at "topological change", don't panic. In simpler words, the trouble is at the instant when the disk splits in two. Such geometric change is tricky.</p>
<p>(**) The phantom was created by postgrad student <a href="https://tuhat.halvi.helsinki.fi/portal/fi/persons/esa-niemi(5a89504d-3202-4cbf-be1d-acdacea8220b).html" target="_blank">Esa Niemi</a>, the video was assembled by master student <a href="https://tuhat.halvi.helsinki.fi/portal/fi/persons/topias-valtteri-rus(d92cb930-c4d5-4931-9b9d-fb493ee2b9ec).html" target="_blank">Topias Rusanen</a>. Please mention the authors if you embed the video somewhere.</p>
<p>(***) For those who do not, this is a classical regularization problem formulation.</p>
<p>(§) For details, see <a href="http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=6703813" target="_blank">Niemi <em>et al</em>.</a> and <a href="http://epubs.siam.org/doi/abs/10.1137/050622791" target="_blank">Kolehmainen <em>et al</em>.</a>.</p>
<p>L'articolo <a href="https://paolaelefante.com/2015/06/4d-tomography-walkthrough-of-my-project-part-2/">4D tomography: walkthrough of my project - part 2</a> sembra essere il primo su <a href="https://paolaelefante.com">Paola Elefante</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://paolaelefante.com/2015/06/4d-tomography-walkthrough-of-my-project-part-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
