Conditionals and Lists

Image for post
Image for post

Today, we will delve deeper into the basics of Python with the second part of my guide How to Python: The Basics. The original post can be found at the link found below:

We will start right from where we left off and build on the concepts used in the first lesson so if you are having any issues following this tutorial, be sure to go ahead and click on the link above for clarification. …


A simple overview of the Data Science work process

Image for post
Image for post

Hello! Today I will be walking you through a project I worked on using the King County housing dataset. For those of you who would like a link to the dataset so that you can work on it, here is the link:

Below is the information provided for each house in the dataset (21597 houses were in the dataset):

  • id — unique identified for a house
  • dateDate — house was sold
  • pricePrice — is prediction target
  • bedroomsNumber — of Bedrooms/House
  • bathroomsNumber — of bathrooms/bedrooms
  • sqft_livingsquare — footage of the home
  • sqft_lotsquare — footage of the…

A simple step-by-step guide to building a Dice Rolling Simulator

Image for post
Image for post

I recently applied for a Data Science job and one of the requirements to submit the application was for me to copy and paste code into a small Indeed window… Something about the whole process seemed demeaning but I went through with it.

The prompt requested that I build a simple dice roller using whatever coding language I desired. Since Python is where I have done most of my learning, I naturally chose that. The IDE I’m using is Jupyter Notebook. …


Providing Recommendations based on Collaborative Filtering

Image for post
Image for post

For those of us constantly accessing the web, we are all too familiar with Recommender Systems. They are all around us and are either those pesky ads that are listening in on all of our online activity or a holy grail for new information or purchases. Love them or hate them, these recommender systems are widespread for a reason. These systems have played an integral part in the success of many large online businesses such as Amazon, Google and Spotify and are providing some of these companies up to 30% of their total revenue.

The goal of this project is to build a basic recommender model to get more familiar with aspects of Machine Learning. To achieve this goal, the popular online movie dataset from MovieLens has been employed to make movie recommendations to users based on how they rate certain movies. The MovieLens dataset contains over 100,000 real world ratings for many different films and many different users. …


Image for post
Image for post

Are our phones listening to us? It’s a concern that I hear about in casual conversation more and more frequently. I’ve also been seeing a lot more tape on laptop webcams. Why is everyone being so paranoid all of a sudden?

Get out your tin foil hats, because we are all under surveillance. As it turns out, if you are doing anything on a smart device or online, you are probably being watched. Not physically (although maybe), but every imaginable metric about your online activity is being recorded. The immediate response to hearing something like that, is most likely one of feeling violated which might make you feel angry. Questions begin to arise. Why are companies gathering all this information on me? What do these companies want with me? …


Image for post
Image for post
Local children pump ground water in the Mara River Basin, Tanzania. © Ana Lemos 2016 http://maraselva.fiu.edu/en/fetching-water-on-a-saturday-morning/

Goals and Overview

Tanzania has one of the fastest growing economies in Africa and despite it’s economic success, only approximately 50% of the population have access to clean water. Home to mostly arid environments, many areas of the country are lacking water. The areas that do have water are sourced from basins, many of which are being heavily polluted. This lack of access to clean water forces many people to rely on contaminated supplies, putting many lives at risk.

To combat the water crisis, water pumps have been installed all over the country to provide clean water to the people of Tanzania. The organizations Taarifa and the Tanzanian Ministry of Water have kept detailed data logs on close to 60,000 of the water pumps that have been installed. Through wear and tear, many of these pumps are non-functional or in need of repairing. It is crucial for these organizations to be able to determine when a pump might need replacement or repair so that the people who rely on these waterpoints are safe and have access to clean water. It is for this reason that Taarifa has hosted an online competition with the goal of creating predictive models to determine the functionality status of the water pumps in the country. …


Image for post
Image for post
Face generated by a GAN

Goals and Overview

A Generative Adversarial Network (GAN) is a type of neural network for generative modeling. The generative model is trained using two neural network models: a generator and a discriminator. GANs are complex so to put them in laymen’s terms, the way they work is there is a generator model that learns to generate plausible samples from a dataset. There is also a discriminator set that is provided with the same dataset and it’s goal is to distinguish real data from fake data (data that is produced by the generator model). Both models enter a game, so to speak, where the generator seeks to fool the discriminator by learning and generating data that is so similar to the shared dataset that the discriminator is unable to distinguish generated data from actual data. …


Data Types, Comments, Errors, Variables, Arithmetic Operators and Inputs

Image for post
Image for post

When I wrote my last tutorial post, there was one person who I was confident was going to go through the steps of the blog post and put my lesson to the test. That is why it was no surprise to me that, when I had my weekly video chat with my dad, he came prepared with questions about the blog post. That is exactly the type of person my dad is. …


Image for post
Image for post

When I first started on my coding journey, I wasn’t quite sure where to begin and I was quickly overwhelmed by the vast amount of resources and information available through a quick Google or YouTube search. This past week, I was helping a friend getting started with coding and it inspired me to make this tutorial. So if you are looking for a resource to begin coding in Python, you came to the right place. …

About

John Kundycki

Data Scientist | Health Enthusiast | Learner

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store