Quantcast
Channel: Herbert Julius Garonfolo »» Coding
Browsing latest articles
Browse All 6 View Live

Excel VBA: Finding the Second Last Sunday of the Month

In one of my projects, I needed to schedule an event on the second last Sunday of each month, so I wrote up a small function in Excel to help me with this: Function secondlastsunday(maaned)...

View Article


Excel VBA: Return Quarter and Year from Date

In my daily reportings, I often encounter having to convert a date to quarter.I used to do it by using a small table that would convert month (Oct = 10) to quarter (Q = 4). Not a very elegant solution...

View Article

Image may be NSFW.
Clik here to view.

Excel VBA: Jaro Winkler Distance (Fuzzy Matching)

Here’s a very nice implementation of the Jaro-Winkler algorithm in Excel VBA.I use it for fuzzy matching, clustering data and looking for duplicates.The code is modified from Jay Tracewell’s post here....

View Article

Excel VBA: Haversine Formula & Great-Circle Distance – Calculate the Distance...

In connection with an analysis on the geographical spread of workshops and car customers, I needed a way to calculate the distance (kilometers) between two sets of coordinates (latitude/longitude...

View Article

Install Atom on Linux Mint 17 and Setup Python Development

I love SublimeText and have been using it on and off for many years for coding. I do, however, think that it’s helpful to shake up my routine sometimes and try something new! I heard a lot of good...

View Article


R: Text Classification using a K Nearest Neighbour Model

In this example, I will show you how to use a KNN model to classify text in R. We use machine learning meaning that we train the model with “known” data (i.e. data that is already categorized) and test...

View Article
Browsing latest articles
Browse All 6 View Live