Python

Python Programming Tutorials

Streamlit Projects – An App Challenge Series

In this series of post we will be building several web applications using Streamlit. The plethora of apps we will be building will range from simple fun and useful apps to complex data science apps. Our main framework will be streamlit. So what is streamlit? Streamlit is a powerful framework for build data apps as …

Streamlit Projects – An App Challenge Series Read More »

How to Programmatically Label Datasets using Snorkel in Python

Machine Learning can be grouped into two based on the presence or absence of labels or target class. This gives us the main branches of supervised machine learning (where the dataset is provided with predefined labels) and unsupervised machine learning (where there are no labels given). The task of assigning labels to a dataset is …

How to Programmatically Label Datasets using Snorkel in Python Read More »

How to Generate Documentations with MkDocs

Documentations are essential for building softwares, in fact documentation is also part of the software you design and develop. It is what differentiate a good software from not a good one. In this tutorial we will be learning how to use a nice library called mkdocs to generate documentations for our software project. As the …

How to Generate Documentations with MkDocs Read More »

How to Visualize Neural Networks

Neural Networks or preferably called Artificial neural networks forms the building block for Deep learning activities. In this article, we will explore the various ways we can visualize your neural network architecture. We will be using 4 different methods to help us visualize the components of a neural network. By the end of this tutorial …

How to Visualize Neural Networks Read More »

Introduction to Python Typing For Type Annotation

All programming languages can be classified under two main groups based on how and when we assign data-types to variables before the program runs. In this respect there can be static typed programming languages such as Java, C++ ,Go and dynamic typed programming languages such as Python, JavaScript, Julia. However certain languages offers the freedom …

Introduction to Python Typing For Type Annotation Read More »

Online Machine Learning In Python with River (ML on Streaming Data)

The usual machine learning we perform is usually on data that is at rest, in other words we train our model on an already collected data which is in batches. This concept of building ML models on data at rest is termed Batch Machine Learning. It is the most common and useful. However what if …

Online Machine Learning In Python with River (ML on Streaming Data) Read More »

How to Set a Baseline for Machine Learning Models in Python

When building machine learning models, it is essential to have a baseline by which you can compare the performance of the model you are building. The baseline you set gives you the benefit of knowing whether you are on track and whether your model is improving or not. The type of baseline you set is …

How to Set a Baseline for Machine Learning Models in Python Read More »

streamlit themes

Streamlit Themes – How to Customize Your Streamlit Apps

Streamlit has done it again, it has introduced a long awaited feature request – Themes. The ability to change the look of streamlit apps is now possible with the Streamlit Themes. To enjoy this feature you will need to update your streamlit to version 0.79 and upwards pip install –upgrade streamlit Streamlit Themes The new …

Streamlit Themes – How to Customize Your Streamlit Apps Read More »

How to Add File Downloads to Streamlit Apps

In a previous post we saw how to add file uploads to our streamlit app. In this tutorial we will learn about how to add file downloads to our streamlit app. By the end of this tutorial you will learn how to Based64 Encode & Decode Data Create File Download function for csv and txt …

How to Add File Downloads to Streamlit Apps Read More »