Articles (18)

Measuring Image Similarity with Neural Nets

Automatically finding similar and duplicate images can be very useful as a quick way to show similar products or items from a collection of images. For example, I was shopping for a phone case and the online store had many many interesting designs but they were hard to navigate…

An Introduction to Machine Learning Interpretability

Lately there has been a lot of interest in explainable AI/ML. Nobody wants to feel discriminated against by an algorithm and when we don't like its prediction or decision we want to know why it made that decision. Plus there is an added sense of security when we feel we…

Tuning a Text Classification Algorithm

In previous articles we worked through basic approaches for text classification by presenting a simplified version of a problem posed by a client and examining the performance of several algorithms. In this article we improve (slightly) the performance of one of the algorithms…

TensorFlow for JavaScript for ClojureScript

Among the many announcements at the TensorFlow Dev Summit was the announcement of TensorFlow for JavaScript and I of course wanted to play with that ... from ClojureScript. These are the steps I took to get a simple polynomial regression example working in cljs. I created a re…

Text Classification with Scikit-Learn

In a previous article I wrote about a recent request from a client to classify short pieces of text. We started out with the simplest thing possible, which in that case was to use a 3rd party API. In this article we talk about using the next simplest approach which TF-IDF…

Text Classification with IBM Watson

Recently I had a request from a client for help classifying short pieces of text. The exact nature of the text is confidential but the passages were similar to paragraphs from reviews and comments users write about products and services. We wanted a quick and easy way to…

AI and ML Unconference

We're hosting an unconference March 24, 2018 in Portland, Oregon focused on finding ways to use AI to improve the lives of everyone in the Community. Machine Learning (ML) and Artificial Intelligence (AI) are predicted to affect aspects of every business, government agency and…

About the ACA Bot

The ACA Bot is a very early version of a chatbot that tries to answer some basic questions related to the Affordable Care Act. I wrote it because I was confused by medical insurance terminology and thought others probably were also and felt it would be a great way learn more…

Deep Learning for Core ML

These are the slides for a talk I gave to the Portland CocoaHeads user group. It is an intro to deep learning with Core ML in mind. The talk covers a lot of ground and introduced many concepts which I hope led attendees to where they can learn more. There were many great…

Intro to ClojureScript (CLJS) for PDX Node

These are the slides for a recent talk I gave at PDX Node on ClojureScript and why one might consider using a transpiled language. The long and the short of it is: immutability . I'm convinced that immutable style programming simplifies your code and saves many bugs. Having it…

Machine Learning on Mobile

There is a lot of hype around Artificial Intelligence (AI) and Machine Learning (ML). Its been called 'the new electricity' and many believe it will fundamentally change our lives as much as the internet and the industrial revolution. We know that every major company is…

Intro To Deep Learning with Clojure

This is the code for a talk I gave to the Clojure PDX meetup group on Intro to Deep Learning w/ Clojure using ThinkTopic/cortex The talk examined the question "Given that Python dominates ML/DL; Is there a valid use case for Clojure?" and came to the conclusion is that deep…

How to Run a Successful Mastermind Group

How to Be an Evil Mastermind … I mean, How to Run a Successful Mastermind. Working on a business or new project can be lonely. Your family and friends support your efforts, but they don’t really understand the details of what you are trying to do or what exactly you are going…

Clojure Web Development

Many people are interested in learning Clojure and ClojureScript and using it for web development. Luckily the book "Web Development with Clojure: Build Bulletproof Web Apps with Less Code" by Dmitri Sotnikov 2nd Edition  is now in Beta at PragProg. The book is a great place…

Building a Single Page App with ClojureScript, Reagent and Friends

Notes from a ClojureScript workshop for the Portland ClojureScript meetup group. We used CLJS, Reagent, Figwheel, re-frame to build a simple working single page app to discuss related concepts. Code is  pdxbike-final  and pdxbike-reframe . ClojureScript (CLJS) Clojure that…

Random Forests At Scale

Twitter: @JulioBarros Creates multiple decision trees and combines individual predictions into one overall prediction. Each tree can be trained independently - parallelizable . from sklearn.ensemble import RandomForestClassifier from sklearn.datasets import load_digits digits…

Intro to Programming Games with Clojure

This 2 hour workshop will give you an introduction and overview to programming, programming with Clojure and developing simple games. We will start with an existing game template and then make changes and see the effects in real time. Then we will talk about how simple 2D games…

9 Ways To Monetize Your IOS App

This is a beginner's guide to monetizing your iPhone App. Writing this article has helped me clarify my thinking, and hopefully it will stimulate you with ideas that you will share so that we all benefit. Developers used to just simply charge for software. You would write a…