CS Articles

Here are some interesting articles on computer science topics.



Hackathons

I am currently at a hackathon (an event, typically lasting several days, in which a large number of people meet to engage in collaborative computer programming) called knights hack sponsored by popular companies such as Dell, Siemens, Deloitte, and Google ! I am not new to hackathons, but here seems to be a collaboration of friends, ideas, and a diversity of women, and minorities that I haven't seen before.This event is ran by Major League Hacking (MLH) & Knight Hacks, and had an opening talk by one of the alienware cofounders Frank Azor. Google was here giving out 50 free card boards Googles $20 virtual reality viewer. Hackers and sponsors got to play Frank Azor in a Steam game winning a free Alienware T-shirt just for playing. There was free healthy food, great talks by Siemens and Alienware, and an overall great staff. Over 150 students are at this event and the hacking has begun.


Facebook Stock Prediction Using Python & Machine Learning

In this article I will show you how to create your own stock prediction Python program using a machine learning algorithm called Support Vector Regression (SVR). The program will read in Facebook (FB) stock data and make a prediction of the open price based on the day.








Read Article

Predict Stock Prices Using Python & Machine Learning

In this article I will show you how to write a python program that predicts the price of stocks using two different machine learning algorithms, one is called a Support Vector Regression (SVR) and the other is Linear Regression. So you can start trading and making money !








Read Article

Predict House Median Prices Using Python & Deep Learning

In this article I will show you how to create your very own neural network to predict if a house price will be above (1) or below (0) the median house price using Python !




Read Article

NBA Data Analysis Using Python & Machine Learning

In this article I will show you how to explore data and use the unsupervised machine learning algorithm called KMeans to cluster / group NBA players. The code will explore the NBA players from 2013–2014 basketball season and use KMeans to group them in clusters to show which players are most similar.




Read Article


Classify Hand-Written Digits Using Python and Artificial Neural Networks

In this article, I will show you how to classify hand written digits from the MNIST database using the python programming language and a machine learning technique called Artificial Neural Networks!








Read Article

Classify Iris Species Using Python & Logistic Regression

In this article I will show you how to write a simple logistic regression program to classify an iris species as either ( virginica, setosa, or versicolor) based off of the pedal length, pedal height, sepal length, and sepal height using a machine learning algorithm called Logistic Regression.








Read Article

Python Decision Tree Classifier Example

In this article I will use the python programming language and a machine learning algorithm called a decision tree, to predict if a player will play golf that day based on the weather (Outlook, Temperature, Humidity, Windy).




Read Article

Car Classification Using Python & Machine Learning

In this article I will show you how to create your own Machine Learning program to classify a car as ‘unacceptable’, ‘accepted’, ‘good’, or ‘very good’, using a Machine Learning (ML) algorithm called a Decision Tree and the Python programming language !




Read Article


What is Code ?

June 10 -- We know that when we enter code into a computer we get software. And we know that software is part of the fabric of our lives - it switches channels on our cable boxes or spits out money from an ATM. But how does all that actually happen? Bloomberg Businessweek author Paul Ford explains. (Animation by Bran Dougherty Johnson.)

Read Article

Let’s Build a Min Heap

A heap data structure in computer science is a special tree that satisfies the heap property, this just means that the parent is less than or equal to the child node for a minimum heap A.K.A min heap, and the parent is greater than or equal to the child node for a maximum heap A.K.A max heap. In this article I will talk specifically about binary heaps, so each node in our tree will have at most two children. Yes there are more than just binary heaps. The binary heap was created by J.W. J. Williams in 1964 for heapsort.


Read Article

Max Heap Deletion Step By Step

In this article I will show you how to delete an element from a Max Heap also known as a Maximum Heap. You will learn what a heap data structure is, and the algorithm to delete an element from a Max Heap. In this article you will also find helpful videos that show and easily explains how to delete an element from a Min Heap. Let’s get started !

Read Article



Selection Sort Algorithm Analysis

Selection sort is a sorting algorithm in computer science. It has O(n²) time complexity. O(n²) isn’t a good time complexity for sorting lists when it comes to large input sizes. This algorithm sorts an array or list by repeatedly finding the minimum value (if we are sorting in ascending order) from the list or array and placing it at the beginning of the list. Here I am going to go line by line on the selection sort algorithm to compute the algorithms runtime.


Read Article

A Simple Machine Learning Python Program

Create a simple machine learning program (the model) using the programming language called Python and a supervised learning algorithm called Linear Regression from the sklearn library (A.K.A scikit-learn).








Read Article

Machine Learning Simplified

Machine learning is a subset of artificial intelligence, it is the science of getting computers to act without being explicitly programmed, and is mostly just statistics. Machine learning is used to find patterns in data that you can then make predictions on. It can be subdivided into supervised learning and unsupervised learning or some mixture of both.



Read Article

How To Scrape Websites Using Python

Python is a general purpose programming language that seems to be on the rise with Data Analytics / Science and Machine Learning. It has many capabilities do to its many libraries/packages. When doing Data Analytics / Science tasks, their will be times that you will want to use data from the internet.

Read Article

How To Extract Twitter Tweets In R

Learn how to mine twitter tweets using the R programming language step by step. This article will guide you from start to finish, you will be able to extract tweets like the pros !





Read Article

SQL Select Statements Using NBA Data

In this article, I want to put together a few SELECT statements to do some queries against some 2017 NBA data, specifically the Cleveland Cavaliers. I got the data from stats.nba.com . If you want the exact data that I used then you can find it on my Github here. SQL stands for Structured Query Language and is used in relational databases. SQL is a great way to manipulate data to get the answers that you want or to see some insight in data that you didn’t expect. Let’s get started !


Read Article See Video

How The NBA Uses Data & Analytics

In my opinion, basketball is a wonderful sport, you can tell a lot about a person from the way s/he played basketball, things like did s/he hog the ball ? Did s/he show off on the court ? Was the person afraid to shoot and miss ? Did the person lie about being fouled? On top of that it’s just fun to play and great exercise ! In this article we will look at how the NBA uses data and analytics.






Read Article

Orlando Magic Data Revolution

In 2014, a study ranked the Orlando Magic above any other franchise in the league for the use of data and data analytics which was reported by Will Mui from Sport Techie at that time.




Read Article

Analyzing FitBit Data

Fitbit is a company in San Francisco, California, known for its products that have the same name, which are fitness/activity trackers and now smart watches. The devices are wireless-enabled wearable technology that measure data on the number of steps you walked, your heart rate, your quality of sleep, steps climbed, and other personal metrics involved in fitness like your calorie in take, weight, and calories burned. In this article we will analyze FitBit data.


Read Article


Facebook's Privacy Incident Response: a study of geolocation sharing on Facebook Messenger

The Harvard student who created a Chrome extension that could track the location of Facebook friends on a map said he lost an internship at the social-networking site over the project.marauders-map GitHub






Read Article Learn More

Setup React Native Environment For IOS

In this article learn how to build native mobile apps using JavaScript and React. React Native lets you build mobile apps using only JavaScript. It uses the same design as React, letting you compose a rich mobile UI using declarative components.








Read Article

How Disney World Uses Big Data

Disney has combined Data Analytics and it’s theme parks into one to create a more personal and supreme magical entertainment experience for guests at Walt Disney World. Disney collects a lot of data, and all of this data mining allows Disney to understand past behavior and make personalized offers using predictive analytics.



Read Article

4 Books Every New Developer Needs To Read

These great books will help you kick start your career sn software development !







Read Article


Google launches open-source machine-learning system TensorFlow

Google has built and launched a new machine-learning system called TensorFlow, making it available for any developer through an online open-source library.






Read Article Learn More

Popular Sorting Algorithms

In computer science a sorting algorithm is an algorithm that puts elements of a list in a certain order.








Read Article

Create A Binary Search Tree

I’m going to discuss how to create a binary search tree from an array. This will be a basic integer array that contains 6 values that are unsorted. Let’s begin by first establishing some rules for Binary Search Trees




Read Article

AVL Trees

An AVL Tree is a self balancing binary search tree (BST). It is named after Adelson-Velsky and Landis, the inventors of the AVL tree. The height of an AVL sub-tree can differ at most by 1. This allows us to search for an element in the AVL tree in log base 2 n time or O(log n), where n is the number of elements in the tree.




Read Article


Solve Recurrence Relation Using Iteration/Substitution Method

The Iteration Method, is also known as the Iterative Method, Backwards Substitution, Substitution Method, and Iterative Substitution. It is a technique or procedure in computational mathematics used to solve a recurrence relation that uses an initial guess to generate a sequence of improving approximate solutions for a class of problems, in which the n-th approximation is derived from the previous ones.

Read Article

Algorithm Analysis & Time Complexity Simplified

TIn computer science, the time complexity of an algorithm gives the amount of time that it takes for an algorithm or program complete its execution, and is usually expressed by Big-O (O)notation. Big-O notation usually excludes any coefficients for example 4n²+1 in Big-O notation is O( n² ). The time complexity can also be expressed by Big Omega (Ω) and Big Theta (Θ).








Read Article

Programming Encryption Algorithms

Encryption is the process of converting a plain text message into cipher text which can be decoded back into the original message. While security is an afterthought for many PC users, it’s a major priority for businesses of any size.








Read Article

How To Solve Recurrence Relation

What is a recurrence relation ? If you search “Recurrence Relation” on Google.com you might get something back like. “ In mathematics, a recurrence relation is an equation that recursively defines a sequence or multidimensional array of values, once one or more initial terms are given: each further term of the sequence or array is defined as a function of the preceding terms.”








Read Article