Posts Tagged ‘ python ’

Minimal, Explicit, Python Style Package Loading for R

February 22, 2018
By

About a year and a half back I was working in Python a bit and became accustomed to the explicit importing of modules (akin to R packages) and functions. Python imports packages like this: import tidyr import dplyr as dp … Continue reading →

Read more »

Is 10,000 Cells Big?

February 13, 2018
By
Is 10,000 Cells Big?

Trick question: is a 10,000 cell numeric data.frame big or small? In the era of "big data" 10,000 cells is minuscule. Such data could be fit on fewer than 1,000 punched cards (or less than half a box). The joking answer is: it is small when they are selling you the system, but can be … Continue reading Is 10,000 Cells Big?

Read more »

Visualize activations functions using keras

December 22, 2017
By
Visualize activations functions using keras

In keras, we can visualize activation functions' geometric properties using backend functions over layers of a model. We all know the exact function of popular activation functions such as 'sigmoid', 'tanh', 'relu', etc, and we can feed data to these f...

Read more »

Visualize activations functions using keras

December 22, 2017
By
Visualize activations functions using keras

In keras, we can visualize activation functions' geometric properties using backend functions over layers of a model. We all know the exact function of popular activation functions such as 'sigmoid', 'tanh', 'relu', etc, and we can feed data to these f...

Read more »

Negative correlation introduced by success

September 10, 2017
By
Negative correlation introduced by success

Suppose you measure people on two independent attributes, X and Y, and take those for whom X+Y is above some threshold. Then even though X and Y are uncorrelated in the full population, they will be negatively correlated in your sample. This article gives the following example. Suppose beauty and acting ability were uncorrelated. Knowing how […]

Read more »

Linking R to IQFeed with the QuantTools package

June 4, 2017
By
Linking R to IQFeed with the QuantTools package

IQFeed provides streaming data services and trading solutions that cover the Agricultural, Energy and Financial marketplace. It is a well known and recognized data feed provider geared toward retail users and small institutions. The subscription price starts at around $80/month. Stanislav Kovalevsky has developed a package called QuantTools. It is an all in one package designed to enhance quantitative […]

Read more »

pandas “transform” using the tidyverse

April 12, 2017
By

Chris Moffit has a nice blog on how to use the transform function in pandas. He provides some (fake) data on sales and asks the question of what fraction of each order is from each SKU. Being a R nut and a tidyverse fan, I thought to compare and contrast the code for the pandas […]

Read more »

pandas “transform” using the tidyverse

April 12, 2017
By
pandas “transform” using the tidyverse

Chris Moffit has a nice blog on how to use the transform function in pandas. He provides some (fake) data on sales and asks the question of what fraction of each order is from each SKU. Being a R nut and a tidyverse fan, I thought to compare and contrast the code for the pandas […]

Read more »

Datashader is a big deal

March 22, 2017
By
Datashader is a big deal

I recently got back from Strata West 2017 (where I ran a very well received workshop on R and Spark). One thing that really stood out for me at the exhibition hall was Bokeh plus datashader from Continuum Analytics. I had the privilege of having Peter Wang himself demonstrate datashader for me and answer a … Continue reading Datashader is a big deal

Read more »

Explaining the decisions of machine learning algorithms

January 27, 2017
By
Explaining the decisions of machine learning algorithms

Being both statistician and machine learning practitioner, I have always been interested in combining the predictive power of (black box) machine learning algorithms and the interpretability of statistical models.I thought the only way to combine predi...

Read more »


Subscribe

Email:

  Subscribe