Creating Web Apps for Your Machine Learning Models with Dash

In the last post, we created APIs for our machine learning models so they could be deployed and clients could invoke them. However, what if you just wanted a simple web page that included interactive and attractive graphs? That’s where Dash comes to the rescue. Dash is similar to Shiny, a framework to build interactive…

Creating a Machine Learning Web API with Flask

In our previous post, we went over how to create a simple linear regression model with scikit-learn and how to use it to make predictions. But, that’s not very useful for anyone other than the creator of the model since it’s only available on their machine. In this post, we’ll go over how to use…

Top Free Data Science Books

There are probably thousands upon thousands of tutorials, articles, videos, and blog posts on all things data science on the internet now. Yet I’m still a big fan of books. Throughout history books have given wisdom, advice, and knowledge to everyone who wants to read them. Seneca, a Stoic philosopher, mentioned something similar: Men who…

Visualizing Sales Data in Python with Matplotlib

In our last post we interpreted a data set with pandas to gain some insights from it. In this post, we will do the same, but instead of interpreting the raw data we will use visualizations to help us determine patterns in the data. But before we dive into the implementation, let’s review the benefits…

Using Pandas to Analyze Sales Data

Now that we know how the data science process works, let’s leverage some of it and try to find insights into some data. We’ll be using pandas, a popular data analysis package for Python, to load and work with our data. Feel free to follow along by downloading the Jupyter notebook. If you went through…

Data Science and the Data Science Process

Before we get into the fun part of working with data, let’s break down how data science involves more than just statistics, why it’s becoming more important, and the data science process. Data Science vs. Statistics In short, data science is extracting knowledge from data. But how is that different between statistics? Data science encompasses…

Data Science with R in Visual Studio

Like our previous post on Python, we will walk through all the really nice offerings Visual Studio gives us now when working with R and related tools. Since we looked at installing in the previous post, and the steps are the same, I will omit that from this post. We’ll just focus on all the…

Data Science with Python in Visual Studio

Yep, you read that right. Visual Studio isn’t the first thing you think of when you hear “data science”, but that may just change soon. In Visual Studio 2017 they have included several tools together where you can do Python, R, and F# data projects for analysis and visualizations. In this post we’ll go over how…

Running Spectron Tests in Visual Studio Team Services Build

Having end-to-end tests and running them locally can definitely be beneficial, but one of the main reasons to have them is to run them automatically during a nightly build. Getting these tests to run in Visual Studio Team Services isn’t trivial. Here’s some tips on how to get them going. Setting up build definitions When…

Unexpected Benefits of End-to-end Testing

End-to-end Testing Testing where the entire application is tested in a real-world scenario such as communicating with the database, network, hardware and other applications. The above is the general definition of what an end-to-end test is. Most of these tests are written to make sure general flows of the application that a user may take…

Top NPM Packages for Spectron Testing

Spectron is a great tool for testing your Electron applications. However, some help is needed to get the full use out of it. This post will go through all of the npm packages I’ve found useful in my Spectron testing. Jasmine Reporters The default reporter for Spectron is to just log out to the terminal.…