<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="http://www.r-bloggers.com/notes-from-3rd-and-3-5th-bayesian-mixer-meetup/"></div></div><div><a data-url="http://www.r-bloggers.com/notes-from-3rd-and-3-5th-bayesian-mixer-meetup/" data-counturl="http://www.r-bloggers.com/notes-from-3rd-and-3-5th-bayesian-mixer-meetup/" data-count="horizontal" data-text="Notes from 3rd and 3.5th Bayesian Mixer Meetup" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://www.magesblog.com/2016/07/notes-from-3rd-and-35th-bayesian-mixer.html"> mages' blog</a></strong>, and kindly contributed to <a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>Two Bayesian Mixer meet-ups in a row. Can it get any better?</p>
<p>Our third ‘regular’ meeting took place at Cass Business School on 24 June. Big thanks to <a target="_blank" href="http://www.cass.city.ac.uk/experts/P.Millossovich">Pietro</a> and <a target="_blank" href="http://www.cass.city.ac.uk/experts/A.Tsanakas">Andreas</a>, who supported us from Cass. The next day, Jon Sedar of <a target="_blank" href="http://www.applied.ai/">Applied AI</a>, managed to arrange a special summer PyMC3 event.<br>
<h3>3rd Bayesian Mixer meet-up</h3>
<p>First up was Luis Usier, who talked about cross validation. Luis is a former student of Andrew Gelman, so, of course, his talk touched on Stan and the ‘loo’ (leave one out) package in R. Luis started with a simple artificial example that aimed to predict the probability of goalkeepers to save a shot on target. Adding a hierarchical structure to the model and treating the variance as a random variable, resulted in a pathological posterior distribution, which makes sampling next to impossible. Instead, fitting different models, with different fixed parameters, allows the user then to compare the models via cross-validation using the ‘loo’ function. Clever! I need to learn more about this. Luis’ slides are available <a target="_blank" href="http://files.meetup.com/19578779/Cross-validation%20in%20R%20and%20Stan.pdf">here</a> and the underlying source code on <a target="_blank" href="http://github.com/luishusier/CV-talk">GitHub</a>.</p>
<table align="center" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><a target="_blank" href="http://i2.wp.com/2.bp.blogspot.com/-_t1Y13IIiiE/V3oUzxESHqI/AAAAAAAACiw/uwMX4XUACCQlK_AmTKJ5DK-FFhDG-7tTACLcB/s1600/IMG_0359.jpg?ssl=1"><img src="http://i0.wp.com/2.bp.blogspot.com/-_t1Y13IIiiE/V3oUzxESHqI/AAAAAAAACiw/uwMX4XUACCQlK_AmTKJ5DK-FFhDG-7tTACLcB/s400/IMG_0359.jpg?w=456&ssl=1" border="0" data-recalc-dims="1"></a></td>
</tr>
<tr>
<td>Luis Usier talking about cross-validation in R and Stan</td>
</tr>
</tbody>
</table>
<p>We were lucky to have <a target="_blank" href="http://www.cass.city.ac.uk/experts/R.Cowell">Robert Cowell</a> talking to us, in what was his final week at Cass. Robert has been very much at the forefront of Bayesian development over the last 30 years. He is one of the co-authors of <a target="_blank" href="http://www.springer.com/us/book/9780387987675">Probabilistic Networks and Expert Systems</a>. Robert gave an insightful talk on probabilistic models for analysing mixed DNA traces. For illustration purpose, he used a crime case, where a man was killed in a pub, and where blood traces were used to support identifying the murder – turning statistics into a thriller.</p>
<p>Following those two stimulating talks, we had a few networking drinks at the Artillery Arms. But not too many, as the next day continued with another Bayesian event.<br>
<h3>3.5th Meetup: PyMC3 summer special</h3>
<p>We had a rare opportunity to gather together a few of the core contributors of the <a target="_blank" href="https://github.com/pymc-devs/pymc3">PyMC3</a> package for a talks &amp; hack session. PyMC3 is a leading framework for probabilistic programming entirely based in Python with a ‘<a target="_blank" href="http://deeplearning.net/software/theano/">theano</a>‘ backend, with support for the NUTS sampler, Variational Inference and lots of useful functionality – an alternative to Stan.</p>
<p>We had two core contributors with us: <a target="_blank" href="http://biostat.mc.vanderbilt.edu/wiki/Main/ChrisFonnesbeck">Chris Fonnesbeck</a> (usually in Nashville, USA) and <a target="_blank" href="http://twiecki.github.io/">Thomas Wiecki</a> (online from Düsseldorf, Germany), plus other package contributors.</p>
<table align="center" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><a target="_blank" href="http://i1.wp.com/1.bp.blogspot.com/-wBQe5ksFrg8/V3tg1YotV7I/AAAAAAAACjA/jmwf3zba1aUarV-fn4Y2OhyjMq70MDLvACLcB/s1600/mixer3.5_saturday.jpg?ssl=1"><img src="http://i2.wp.com/1.bp.blogspot.com/-wBQe5ksFrg8/V3tg1YotV7I/AAAAAAAACjA/jmwf3zba1aUarV-fn4Y2OhyjMq70MDLvACLcB/s400/mixer3.5_saturday.jpg?resize=400%2C400&ssl=1" border="0" data-recalc-dims="1"></a></td>
</tr>
<tr>
<td>Chris Fonnesbeck talking on PyMC3</td>
</tr>
</tbody>
</table>
<p>On Saturday morning Chris gave an overview of PyMC3, followed by a detailed talk of Thomas on <a target="_blank" href="http://twiecki.github.io/blog/2016/06/01/bayesian-deep-learning/">Bayesian Deep Learning</a>. The afternoon was spent hacking together away on different problems. I was new to PyMC3, so I went through the tutorial on <a target="_blank" href="https://github.com/fonnesbeck/PyMC3_Oslo">Probabilistic Programming using PyMC3</a>, which Chris had given at a workshop in Oslo.</p>
<p>Many thanks to all who helped to make these events such a success and especially to Chris, Thomas, Luis, Robert, Andreas, Pietro and Jon.</p>
<p>If you have ideas for a future event, then please get in touch and visit our <a target="_blank" href="http://www.meetup.com/Bayesian-Mixer-London/">Meetup page</a>.
<div>The 4th R in Insurance conference will take place on 11 July 2016 at Cass Business School. <a target="_blank" href="http://www.cass.city.ac.uk/news-and-events/conferences/r-in-insurance2016">Register</a> now.
<p>This post was originally published on <a target="_blank" href="http://www.magesblog.com/">mages’ blog</a>.</div>
<p><div><div><div><div data-width="55" data-show-faces="false" data-send="true" data-layout="box_count" data-height="62" data-href="http://www.r-bloggers.com/notes-from-3rd-and-3-5th-bayesian-mixer-meetup/"></div></div><div><a data-url="http://www.r-bloggers.com/notes-from-3rd-and-3-5th-bayesian-mixer-meetup/" data-counturl="http://www.r-bloggers.com/notes-from-3rd-and-3-5th-bayesian-mixer-meetup/" data-count="vertical" data-text="Notes from 3rd and 3.5th Bayesian Mixer Meetup" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://www.magesblog.com/2016/07/notes-from-3rd-and-35th-bayesian-mixer.html"> mages' blog</a></strong>.</div>
<hr>
<a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="http://www.r-bloggers.com/?s=data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="http://www.r-bloggers.com/?s=Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="http://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" rel="nofollow" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" rel="nofollow" href="http://www.r-bloggers.com/?s=time+series">time series</a>, <a title="finance trading" rel="nofollow" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/4wogf2IXc6I"></a></div>