Physical Activity Monitoring Using Smartphone Sensors and Machine Learning

From: https://towardsdatascience.com/physical-activity-monitoring-using-smartphone-sensors-and-machine-learning-93f51f4e744a Sitting: One of the Most Dangerous Activities Sedentary behavior has become a major public health risk around the world. Experts tell us that a minimum amount of daily physical activity (PA) is necessary to maintain health and reduce the risk of chronic diseases such as diabetes, heart disease, and cancer. Some researchers have … Continue reading Physical Activity Monitoring Using Smartphone Sensors and Machine Learning

How to Develop Optimization Models in Python

From: https://towardsdatascience.com/how-to-develop-optimization-models-in-python-1a03ef72f5b4 Determining how to design and operate a system in the best way, under the given circumstances such as allocation of scarce resources, usually requires leveraging on quantitative methods in decision making. Mathematical optimization is one of the main approaches for deciding the best action for a given situation. It consists of maximizing or minimizing the … Continue reading How to Develop Optimization Models in Python

Dockerize Jupyter with the Visual Debugger

From: https://towardsdatascience.com/dockerize-jupyter-with-official-visual-debugger-enabled-cbce1840b7f Jupyter recently announced its first-ever public release of the much-awaited visual debugger. Though it is the first release it supports all the basic debugging requirements needed to debug and inspect variables, etc. The Data Science community is relied heavily on Jupyter Notebooks due to its ability to easily communicate and share the outcomes … Continue reading Dockerize Jupyter with the Visual Debugger

Using Optuna to Optimize PyTorch Lightning Hyperparameters

From: https://medium.com/optuna/using-optuna-to-optimize-pytorch-lightning-hyperparameters-d9e04a481585 This post uses pytorch-lightning v0.6.0 (PyTorch v1.3.1)and optuna v1.1.0. PyTorch Lightning + Optuna! Optuna is a hyperparameter optimization framework applicable to machine learning frameworks and black-box optimization solvers. PyTorch Lightning provides a lightweight PyTorch wrapper for better scaling with less code. Combining the two of them allows for automatic tuning of hyperparameters to find the … Continue reading Using Optuna to Optimize PyTorch Lightning Hyperparameters

Faster Video Processing in Python using Parallel Computing

From: https://towardsdatascience.com/faster-video-processing-in-python-using-parallel-computing-25da1ad4a01 If you want to process a number of video files, it might take a from minutes to hours, depending on the size of the video, frame count, and frame dimensions. How can we speed up video processing? Parallel processing is the answer! If you are processing images in batches, you can utilize the … Continue reading Faster Video Processing in Python using Parallel Computing

PyTorch layer dimensions: what size and why?

From: https://towardsdatascience.com/pytorch-layer-dimensions-what-sizes-should-they-be-and-why-4265a41e01fd Preface This article covers defining tensors, and properly initializing neural network layers in PyTorch, and more! Introduction You might be asking: “How do I initialize my layer dimensions in PyTorch without getting yelled at?” Is it all just trial and error? No, really… What are they supposed to be? For starters, did you … Continue reading PyTorch layer dimensions: what size and why?

Noise: It’s not always annoying

From: https://towardsdatascience.com/noise-its-not-always-annoying-1bd5f0f240f One of the first concepts you learn when you begin to study neural networks is the meaning of overfitting and underfitting. Sometimes, it is a challenge to train a model that generalizes your data perfectly, especially when you have a small dataset because: When you train a neural network with small datasets, the network generally memorizes … Continue reading Noise: It’s not always annoying

Deploying your first Deep Learning Model: MNIST in production environment

From: https://towardsdatascience.com/deploying-your-first-deep-learning-model-mnist-in-production-environment-510bfdc4808d How you can deploy your MNIST model in production environment MNIST Dataset is a hello world dataset for most of the ML Enthusiast likes us. At some point everyone who has started their journey in this field or willing to start will come across this dataset and get their hands on for sure. It … Continue reading Deploying your first Deep Learning Model: MNIST in production environment

Create a Multipage Dash Application

From: https://towardsdatascience.com/create-a-multipage-dash-application-eceac464de91 Making a dashboard is a great way to communicate the value of data science projects to coders and non-coders alike! For those of us that work in data science, often times our skills with data come with a lack of skill in front end development. Dash, a library built by Plotly, offers simple boiler … Continue reading Create a Multipage Dash Application

Visualizing the Emotional Arcs of Movie Scripts Using Rule-Based Sentiment Analysis

From: https://towardsdatascience.com/visualizing-the-emotional-arcs-of-movie-scripts-using-rule-based-sentiment-analysis-1016b4b1af5a How I used Python, D3 and Flask to create this interactive visualization Almost 72 years ago, acclaimed American writer Kurt Vonnegut came up with a novel method for graphing the plot lines of stories as part of his master’s thesis in anthropology. Although his work was ultimately rejected by the University of Chicago “because it was … Continue reading Visualizing the Emotional Arcs of Movie Scripts Using Rule-Based Sentiment Analysis