Python

Python Programming Tutorials

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 »

Text Classification with Machine Learning Using Udemy Dataset and Python

In this tutorial- which is part of the End-To-End Data Science Project using the Udemy Dataset – we will perform text classification using the title and the subject category. Our aim behind this project is to predict the subject category giving the course title. By the end of this tutorial you will learn What we …

Text Classification with Machine Learning Using Udemy Dataset and Python Read More »

Building Machine Learning Pipelines with Scikit Learn & Python

The normal everyday data science/ML workflow follows a particular pattern of taking in data, analyzing the data and then deriving useful insights to build problem solving and predictive tools. One of the simplest and most useful ways of working with such a workflow is to use pipelines. So what is a Pipeline? Why is it …

Building Machine Learning Pipelines with Scikit Learn & Python Read More »

fake data generator app

Building A Fake Data Generator App with Streamlit and Python Faker

Data is everywhere, but sometimes when building a web site or testing out a product you may need quick data to use to test drive your app or product. This is where the Faker library comes to play. The idea behind Faker is quite simple to generate data randomly per certain fields. This library has …

Building A Fake Data Generator App with Streamlit and Python Faker Read More »

How to Save Uploaded Files to Directory in Streamlit Apps

Sometime ago we learnt about how to upload files and process the uploaded files in Streamlit. We dived deeper into the Streamlit UploadedFile Class and how it reads it as a file-like Byte IO type. In this tutorial we will learn about how to save our uploaded file into a directory. This is useful in …

How to Save Uploaded Files to Directory in Streamlit Apps Read More »