Author Archives: kevinwang11

Introduction to Neural Networks

In my last blog post, I detailed the implementation of machine learning models in iOS applications using the Core ML and Vision frameworks. As you probably remember from the tutorial, I implemented the Inception v3 model to give the app the ability to classify 1,000 common objects in the world. While it is true that you can easily download the model from a Github repository, have you ever wonder where it came from? In this blog post, I will introduce the “brain” behind the Inception v3 model––an artificial neural network (ANN).

Continue reading

Implementing a Machine Learning Model with Core ML Part II – Vision API – Kevin

In my previous blog post, I wrote about the implementation of a general machine learning model using Apple’s Core ML framework. In this blog post, I will continue my discussion of Core ML and focus on a specific aspect of the framework—computer vision.

Continue reading

Implementing a Machine Learning Model Using the CoreML Framework – Kevin

Recently, I have been experimenting with CoreML, the machine learning framework for Apple’s mobile and desktop operating systems. Rather than continue my discussion of linear regression, I will detail the implementation of a model with CoreML in this blog post.

Continue reading

Simple Linear Regression in Machine Learning – Kevin

You might remember linear regression from statistics as a method to produce a linear equation that models the relationship between two variables. Not surprisingly, linear regression is quite similar in machine learning, except that the focus is on the prediction rather than the interpretation of data. Regression is a supervised learning algorithm (if you remember from my previous blog) that predicts real-valued output when given an input. In this blog post, I will discuss the model representation of simple linear regression and introduce its cost function.

Continue reading

A Brief Introduction to Machine Learning – Kevin

There are two widely accepted definitions of machine learning. The phrase is first coined in 1959 by computer scientist Arthur Lee Samuel, who trained a computer program to play checkers with humans. He later described his work as “the field of study that gives computers the ability to learn without being explicitly programmed.” Decades later, Professor Tom Mitchell coined a more modern and formal definition: “A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P, if its performance at tasks in T, as measured by P, improves with experience E.”
Continue reading

A New Beginning – Kevin

Why machine learning? It all started back in August when I was getting Westtown Resort ready for this school year.

As I briefly mentioned in my previous blog posts, Resort utilizes a MySQL data table that resembles this one:

Date A/B Type
2017-09-05 A
2017-09-06 A
2017-09-07 A
2017-09-08 A
2017-09-11 B
2017-09-12 B
 ⋯  ⋯

Continue reading

Watcher – A New App

It has been nearly a year since I last opened Xcode, Apple’s development environment for iOS and watchOS. One day, when I was rushing to an early morning class, I subconsciously patted my left pocket and realized that I had left my phone in my dorm room. I also took notice that I was wearing my Apple Watch, the device that I frequently use to ping my iPhone when I misplace it. While the watch does help me find my phone by allowing me to play a ringing sound on my phone, it doesn’t do so proactively. Wouldn’t it be nice to have an app on my Apple Watch that notifies me when the iPhone is out of range, I thought.

Continue reading

Web Hosting 101 (Part 2)

In my previous blog post, I briefly mentioned the differences between a Virtual Private Server (VPS) and Shared Web Hosting service and cross compared the three major VPS providers. In this blog post, I will continue my tutorial by detailing the process of setting up a Droplet (DigitalOcean’s way of calling their VPS instances) with DigitalOcean.

Continue reading

Web Hosting 101

A friend of mine and a regular reader of this blog recently requested that I write a tutorial on setting up a web server. To honor his request, I will devote this week’s blog post to the subject of web hosting. I will not, however, cover the programming aspect of web development as I assume that the readers of this tutorial already know how to write a website in HTML, CSS, PHP, Java, etc. I will also not be writing about the all-in-one website builders such as Squarespace and Wix for the same reason.

Continue reading

Dinner Dance?

Maybe it is too early for me to make a dinner dance proposal, but I did receive an invitation from T. Carrie Brodsky, the senior class advisor, who asked me to create a ticketing system for the 2017 Dinner Dance. In this blog post, I will explain what the ticketing system was like in 2016 and briefly introduce the new ticketing system I am currently developing.
Continue reading