A template engine or template processor is a library designed to combine templates with a data model to produce documents. Template engines are often used to generate large amounts of emails, in source code preprocessing, or producing dynamic HTML pages. $ sudo pip3 install jinja2 We use the pip3 tool to install Jinja. Jinja uses […]

Source: giphy I’m dividing this whole blogpost into 4 chunks. Here’s the ‘syllabus’: Word count by season, selecting top x people to work with (limited data for better visualization, more comprehensible outcomes) Analyzing most frequently used words, phrases (bigrams), and most personal words (tf-idf) Running sentiment analysis with and without seasonality, determining ‘who is nice […]

Introduction                 As we’re nearing the end of 2017, we’ve come to the 5 year landmark of deep learning really starting to hit the mainstream. For me, I think of AlexNet and the 2012 Imagenet competition as the coming out party (although researchers have definitely been working in this field for quite a bit longer). […]

Will an XGBoost reveal the same risk factors as those used by a physician? Photo by Alexander Sinn on Unsplash Cardiovascular disease (CVD) or heart disease is one of the leading causes of death in the United States. The Center for Disease Control Prevention estimates 647,000 deaths per year¹. CVD is an umbrella term that […]

Without much ado, let’s get started with the code. The complete project on github can be found here. I started with loading all the libraries and dependencies required. import json import requests from keras.models import Sequential from keras.layers import Activation, Dense, Dropout, LSTM import matplotlib.pyplot as plt import numpy as np import pandas as pd […]

Lessons learned from “Storytelling With Data: A Data Visualization Guide for Business Professionals” Photo by William Iven on Unsplash When it comes to effective data visualization, the very first and also the most critical step is to select the right graph/visual for the data that you want to present. With a wide range of visualization […]

What’s Next? This example visualizes the confirmed COVID-19 case dataset, but you may try yourself to apply this method for visualizing the COVID-19 death case and recovered case dataset as well. For more information about plotting the animation choropleth map with plotly, check the full documentation here. If you want to change the color scale, […]