thomasjpfan.comhttps://www.thomasjpfan.com/2018-09-12T09:29:00-05:00Survival Regression Analysis on Customer Churn2018-09-12T09:29:00-05:002018-09-12T09:29:00-05:00Thomas Fantag:www.thomasjpfan.com,2018-09-12:2018/09/survival-regression-analysis-on-customer-churn/<p>In this post, we will analyze Telcon's Customer Churn Dataset and figure out what factors contribute to churn. By definition, a customer churns when they unsubscribe or leave a service. With survival analysis, the customer churn event is analogous to death. Armed with the survival function, we will calculate what is the optimum monthly rate to maximize a customers lifetime value.</p>Nuclei Image Segmentation Tutorial2018-07-31T09:29:00-05:002018-07-31T09:29:00-05:00Thomas Fantag:www.thomasjpfan.com,2018-07-31:2018/07/nuclei-image-segmentation-tutorial/<p>In this tutorial, we will implement a UNet to solve Kaggle's 2018 Data Science Bowl Competition. The challenge asks participants to find the location of nuclei from images of cells.</p>Rodents Of NYC2017-08-28T09:29:00-05:002017-08-28T09:29:00-05:00Thomas Fantag:www.thomasjpfan.com,2017-08-28:2017/08/rodents-of-nyc/<p>On July 2017, NYC has announced a $32 million plan towards reducing rodent populations. The plan will fully take into affect at the end of 2017. We will analyze how NYC's current process to control rodent population is successful by using 311 complaint data and rodent inspection data.</p>Hassle Free UNets2017-08-05T09:29:00-05:002017-08-05T09:29:00-05:00Thomas Fantag:www.thomasjpfan.com,2017-08-05:2017/08/hassle-free-unets/<p>Constructing a UNet requires you to keep track of every signal size that flow through the UNet. This can lead to size mismatches when constructing the neutral network. To remedy this issue, I created a small PyTorch UNet module that calculates the sizes for you. You can even customize the building blocks used to construct the UNet.</p>Bayesian Coin Flips2015-09-12T09:29:00-05:002015-09-12T09:29:00-05:00Thomas Fantag:www.thomasjpfan.com,2015-09-12:2015/09/bayesian-coin-flips/<p>In this blog post, we will look at the coin flip problem in a bayesian point of view. Most of this information is already widely available through the web, but I want to write it up anyways, so I can go into more involved bayesian concepts in future posts.</p>Statistical Power of Coin Flips2015-08-29T09:29:00-05:002015-08-29T09:29:00-05:00Thomas Fantag:www.thomasjpfan.com,2015-08-29:2015/08/statistical-power-of-coin-flips/<p>There are a few topics that I wish were taught in an introduction to statistics undergraduate course. One of those topics is Bayesian Statistics, the other is Statistical Power. In this post, I go through the analysis of flipping coins, and how to calculate statistical power for determining if a coin is biased or fair.</p>PCA Before Regression2015-08-15T19:29:00-05:002015-08-15T19:29:00-05:00Thomas Fantag:www.thomasjpfan.com,2015-08-15:2015/08/pca-before-regression/<p>Sometimes it can be quite harmful to remove features in a data set. This entry gives an example of when principle component analysis can drastically change the result of a simple linear regression.</p>High n-Dimensional Spheres Are Only Skin Deep2014-08-15T09:29:00-05:002014-08-15T09:29:00-05:00Thomas Fantag:www.thomasjpfan.com,2014-08-15:2014/08/high-n-dimensional-spheres-are-only-skin-deep/<p>For the past few months, I've been implementing machine learning algorithms and one of the small details about higher dimensional spheres caught me by surprise.</p>Hold on Tight!2014-07-04T09:29:00-05:002014-07-04T09:29:00-05:00Thomas Fantag:www.thomasjpfan.com,2014-07-04:2014/07/hold-on-tight/<p>There are quite a few places where one can go indoor rock climbing in NYC. To keep the climber safe, the climber wears a harness that is attached to to a rope. The rope is then wrapped around a pipe at least one time and then at least 160 degrees more depending on where your buddy is holding on to the other end. The amount of force needed to hold a climber up is surprisingly low because of how friction helps prevents the rope from slipping off the pipe.</p>Maximum of free damped oscillators2014-05-02T09:29:00-05:002014-05-02T09:29:00-05:00Thomas Fantag:www.thomasjpfan.com,2014-05-02:2014/05/maximum-of-free-damped-oscillators/<p>There are still elementary facts about free damped oscillators that catch me off guard from time to time. One of these facts is that the maximum of the damped oscillation solution is different from the envelope that is tangent to it.</p>My Current Cpp Makefile2014-01-04T14:51:00-05:002014-01-04T14:51:00-05:00Thomas Fantag:www.thomasjpfan.com,2014-01-04:2014/01/my-current-cpp-makefile/<p>When I took my first programming course at Polytech, I used a Integrated development environment (IDE) called Visual Studio. It magically complied all my files together and formed an executable. Now a days, I've moved on from using IDEs and switch to using a text editor, Sublime Text. As the C++ code I wrote started to get more complicated and span multiple files, I needed a way to systematically complied the files together. Thus, I created a Makefile to build and organize my C++ files...</p>