Deep Learning in Real Time – Inference Acceleration and Continuous Training

Introduction Deep learning is revolutionizing many areas of computer vision and natural language processing (NLP), infusing into increasingly more consumer and industrial products intelligence capabilities with the potential to impact the everyday experience of people and the standard processes of industry practices. On a high level, deep learning, similar to any automated system based on […]

Continue reading


The Maclaurin Series and Machine Learning

In the very early days of computers (say the 1950s and 1960s), most guys who entered the new field of “computer science” came from a background in either mathematics or electrical engineering. There’s always been a strong connection between mathematics and computer science. More specifically, with regards to machine learning, every now and then I’ll […]

Continue reading


Neural Network Momentum using Python

I wrote an article titled “Neural Network Momentum using Python” in the August 2017 issue of Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2017/08/01/neural-network-momentum.aspx Momentum is a technique intended to speed up neural network training. Training a neural network is the process of determining the values of the weights and biases that essentially define the behavior of the […]

Continue reading


Using Random Forests and Wordclouds to Visualize Feature Importance in Document Classification

What characteristics do the works of famous authors have that make them unique? This post uses ensemble methods and wordclouds to explore just that. Project Gutenberg offers a large number of freely available works from many famous authors. The dataset for this post consists of books, taken from Project Gutenberg, written by each of the […]

Continue reading


Humans in the Loop

This guest blog post from Paco Nathan dives into how people and machines collaborating together to perform work is real and not science fiction. Paco Nathan is the Director, Learning Group at O’Reilly Media and an advisor for Amplify Partners. His expertise includes machine learning, distributed systems, and cloud computing. He was cited in 2015 as […]

Continue reading


Calculating Standard Deviation using custom UDF and group by in H2O

Here is the full code to calculate standard deviation using H2O group by method as well as using customer UDF: library(h2o) h2o.init() irisPath <- system.file(“extdata”, “iris_wheader.csv”, package = “h2o”) iris.hex <- h2o.uploadFile(path = irisPath, destination_frame = “iris.hex”) # Calculating Standard Deviation using h2o group by SdValue <- h2o.group_by(data = iris.hex, by = “class”, sd(“sepal_len”)) # […]

Continue reading


Calculate mean using UDF in H2O

Here is the full code to write a UDF to calculate mean for a given data frame using H2O machine learning platform:   library(h2o) h2o.init() ausPath <- system.file(“extdata”, “australia.csv”, package=”h2o”) australia.hex <- h2o.uploadFile(path = ausPath) # Writing the UDF myMeanUDF = function(Fr) { mean(Fr[, 1]) } # Applying UDF using ddply MeanValue = h2o.ddply(australia.hex[, c(“premax”, […]

Continue reading