Image

Posts By jenholm

Latest Posts | By jenholm
R Job Scraping and Mapping
6 years ago

R Job Scraping and Mapping

In this post, I’m going to use R to scrape Indeed.com for some jobs, then plot the positions of the top jobs on a map, and save that map to …
Read More

Milepost GIS Location Estimation in R
6 years ago

Milepost GIS Location Estimation in R

I was recently forced at gunpoint to estimate the positions of mileposts along the highways in Maricopa County. This was to estimate stops and arrest positions for law enforcement. Like …
Read More

Comparison of R and Python Parallel Computing in Address Geocoding
6 years ago

Comparison of R and Python Parallel Computing in Address Geocoding

I recently needed to process a bunch of addresses that our proprietary geocoding software was having a problem with. I won’t say the name of the geocoder, but it rhymes …
Read More

R Function to Calculate Bearing Between Two Positions (lat-lon)
6 years ago

R Function to Calculate Bearing Between Two Positions (lat-lon)

An R function I had to write to calculate the true course/bearing between two lat lon positions. Note that the fossil R library has a function called earth.bear to do …
Read More

vncserver on ubuntu Grey Sceen on login

Open ~/.vnc/xstartup file

$ nano ~/.vnc/xstartup

Add the lines in the file.

#!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey # fix to make xfce work: startxfce4 &

Save and exit.

 

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
6 years 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
6 years 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
6 years 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
6 years 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

Top