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).
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.
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.
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.”
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:
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.
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.
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.
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.