Image

Data Science Blog

Hands-On Machine Learning with Scikit-Learn and TensorFlow fix for chapter 3 MNIST dataset

In case you’re using the book in the title, here’s the fix for the Chapter 3 MNIST dataset hang

  1. Download by clicking on the view raw dataset from https://github.com/operalib/operalib/blob/master/mnist/mldata/mnist-original.mat
  2. Use …
    Read More
Build your own discrete event simulation framework in Python Part III
2 months ago

Build your own discrete event simulation framework in Python Part III

In Part II, we added a queue and a PatrolCar class to our Python simulation to answer call events in our police patrol simulation. In this installment, we’ll add calls to …
Read More

Build your own discrete event simulation framework in Python Part II
3 months ago

Build your own discrete event simulation framework in Python Part II

In Part I, we learned about creating a simple discrete event simulation controller in Python, using a clock that iterated over a minute counter and translated this minute counter to …
Read More

Build your own discrete event simulation framework in Python Part I
3 months ago

Build your own discrete event simulation framework in Python Part I

The first question you might ask, is why the heck would you build your own simulation framework in Python? There’s a million of them, right?

I wouldn’t say a million. …
Read More

Excel to R Transhipment Problem Optimization Tutorial Part II
3 months ago

Excel to R Transhipment Problem Optimization Tutorial Part II

In this tutorial, I’ll finish the process of converting a simple Excel Transshipment problem that I wrote to minimize the traveling distance that a set of patrol cars would have …
Read More

Excel to R Transhipment Problem Optimization Tutorial Part I
3 months ago

Excel to R Transhipment Problem Optimization Tutorial Part I

In this tutorial I’m going to go through creating an optimization model in Excel. The next part of the tutorial will be scaling a small optimization program into a larger …
Read More

The Analyst’s Dilemma, R vs. Python, or How I Stopped Worrying and Hated Them Both
4 months ago

The Analyst’s Dilemma, R vs. Python, or How I Stopped Worrying and Hated Them Both

I recently worked on two analytic projects which had libraries which were crucial to the completion of the projects, which I like to call putting all your eggs in one …
Read More

The Political Forecast Massacre of 2016
1 year ago

The Political Forecast Massacre of 2016

I’ve gone over the network forecasts for the presidential election of 2016 and it wasn’t a pretty sight. While I don’t buy the line that “A lot of forecasters will …
Read More

Dear Linux, Less Forking, More Testing
1 year ago

Dear Linux, Less Forking, More Testing

I have a request from a sometimes Linux user, me.

Please stop forking and making new distros.

It’s not me, it’s you. Look, I’m a reasonably tech-savvy guy. And I …
Read More

Top